RAL Classic color

RAL 1016 Sulfur yellow #EDFF21

RAL 1016 Sulfur yellow is shown here as #EDFF21, a widely published sRGB approximation of the printed swatch. It is a pale vivid yellow in the yellow family. In OKLCH it sits at lightness 0.954, chroma 0.211 and hue 114.9°. The nearest CSS named color is yellow (#FFFF00), ΔE2000 3.8 away.

Relative luminance
0.8963
OKLCH L · C · h
0.954 · 0.211 · 114.9
Best text
Black 18.92:1
Hue family
Yellow

#EDFF21 color codes

HEX
#EDFF21
RGB
rgb(237, 255, 33)
HSL
hsl(65, 100%, 56%)
OKLCH
oklch(0.954 0.211 114.9)
OKLab
oklab(0.954 -0.089 0.191)
CIELAB (D65)
L* 95.85, a* -28.50, b* 89.54
XYZ (D65)
X 70.96, Y 89.64, Z 15.00
CMYK (naive)
cmyk(7%, 0%, 87%, 0%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #EDFF21 accessible?

Black text on it reaches 18.92:1, passing AAA. White text fails at 1.10:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    18.92:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +99
  • White text on it

    1.10:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc 0

    Text is here, unreadable at 1.10:1

  • As text on black

    18.92:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −100
  • As text on white

    1.10:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc 0

    Text is here, unreadable at 1.10:1

Nearest versions that pass 4.5:1

  • For text on white

    #737C00 4.55:1

    Darkening its OKLCH lightness from 0.95 to 0.56 reaches 4.55:1 on white, keeping the hue.

  • For text on black

    #EDFF21 18.92:1

    It already reaches 18.92:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #EDFF21 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #EDFF21

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #EDFF21 sits at step 100.

  1. 50#F2FFA2
    White
    1.07
    Black
    19.60
  2. 100This color#EDFF21
    White
    1.10
    Black
    18.92
  3. 200#D5E534
    White
    1.39
    Black
    15.08
  4. 300#BBCA00
    White
    1.81
    Black
    11.56
  5. 400#9FAC00
    White
    2.50
    Black
    8.37
  6. 500#848F00
    White
    3.55
    Black
    5.91
  7. 600#6D7600
    White
    4.95
    Black
    4.24
  8. 700#575E00
    White
    6.98
    Black
    3.00
  9. 800#3F4400
    White
    10.30
    Black
    2.03
  10. 900#282C00
    White
    14.47
    Black
    1.45
  11. 950#161800
    White
    18.02
    Black
    1.16

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #EDFF21 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.211; #EDFF21 uses 100% of it. Display P3, which many recent phones and laptops show, reaches 0.225 there: 6% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.211
sRGB edge
0.211
Display P3 edge
0.225
Rec. 2020 edge
0.259
Dominant wavelength
568 nm
Excitation purity
76%
Chromaticity
x 0.4041, y 0.5105
  • This color#EDFF21
  • Most vivid in sRGB#EDFF20
  • Most vivid in Display P3oklch(0.954 0.225 114.9)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #edff21;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.9432 1 0.2819); }
}

Mixing

Mixing #EDFF21

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#F6FF90
  • OKLab50%#F5FFAD
  • OKLCH50%#F5FFBE

Black #000000

  • sRGB50%#778011
  • OKLab50%#5C6306
  • OKLCH50%#5C6306

Its complement #F1EDFF

  • sRGB50%#EFF690
  • OKLab50%#EEF8AF
  • OKLCH50%#FFEBE8
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #edff21, white);
color: color-mix(in oklch, #edff21 50%, white);

In use

#EDFF21 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:118.92:1 Passes
  • Link and body-size textText, 4.5:11.10:1 Fails
  • Large headingLarge text, 3:11.10:1 Fails
  • Icons, borders and focus ringsNon-text, 3:11.10:1 Fails

For text on this page, the nearest shade that passes is #737C00 4.55:1

Dark page

  • Button labelText, 4.5:118.92:1 Passes
  • Link and body-size textText, 4.5:116.88:1 Passes
  • Large headingLarge text, 3:116.88:1 Passes
  • Icons, borders and focus ringsNon-text, 3:116.88:1 Passes

Color vision

How #EDFF21 looks with color blindness

Achromatopsia changes it most, ΔE2000 30.2; deuteranopia changes it least, 5.7.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #FFF200 ΔE2000 6.5

    Noticeable

    Reads as pale vivid yellow

  • Deuteranopia

    No working green (medium-wavelength) cones

    #FFF53E ΔE2000 5.7

    Noticeable

    Reads as pale vivid yellow

  • Tritanopia

    No working blue (short-wavelength) cones

    #FDEFDA ΔE2000 25.9

    Distinct

    Reads as pale grayish amber

  • Achromatopsia

    No cone color vision; lightness only

    #F3F3F3 ΔE2000 30.2

    Distinct

    Reads as off-white

Pairing check

Checked against its complement, #F1EDFF. Their lightness contrast is only 1.03:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#EDFF21 · #F1EDFF43.1Stays distinct
Protanopia#FFF200 · #EAEFFF41.6Stays distinct
Deuteranopia#FFF53E · #EAEFFE39.8Stays distinct
Tritanopia#FDEFDA · #EFEFF311.4Stays distinct
Achromatopsia#F3F3F3 · #EFEFEF0.8Easily confused

Harmony

Color harmonies for #EDFF21

Its complement is #F1EDFF, a pale grayish violet.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#EDFF21
  • Complement#F1EDFF

Complementary

Open in Harmony Studio
  • −30°#FFEECC
  • Base#EDFF21
  • +30°#CFFFCF
  • Base#EDFF21
  • +120°#E0F3FF
  • +240°#FFE9F1
  • Base#EDFF21
  • +150°#E9F0FF
  • +210°#FEE7FF

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-1016: #edff21;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-1016': '#edff21',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-1016: oklch(0.954 0.211 114.9);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-1016": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.9294, 1, 0.1294],
        "hex": "#edff21"
      },
      "$description": "RAL 1016 Sulfur yellow (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral1016 = Color(.sRGB, red: 0.929, green: 1.000, blue: 0.129, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral1016 = Color(0xFFEDFF21)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #EDFF21 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.