#FFD12E#FFD12E

#FFD12E is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.6% C 0.169 H 91.5°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#FFD12E
RGBrgb(255, 209, 46)
HSLhsl(47, 100%, 59%)
HSVhsv(47, 82%, 100%)
CMYKcmyk(0%, 18%, 82%, 0%)
CIE-LABlab(85.54, 1.82, 78.83)
CIE-LCHlch(85.54, 78.85, 88.68°)
OKLaboklab(87.61% -0.0043 0.169)
OKLCHoklch(87.61% 0.169 91.5)
XYZxyz(64.5376, 67.0624, 12.1294)
Luminance0.6706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD12E #2E5CFF
analogous
#FF692E #FFD12E #C5FF2E
triadic
#FFD12E #2EFFD1 #D12EFF
tetradic
#FFD12E #2EFF69 #2E5CFF #FF2EC5
square
#FFD12E #2EFF69 #2E5CFF #FF2EC5
split-complementary
#FFD12E #2EC5FF #692EFF
monochromatic
#B38B00 #F0BB00 #FFD12E #FFDE6B #FFECA8

Accessibility & contrast

On white

1.46
#FFD12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#FFD12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD12E
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD12E#FFFFFF#000000##000000
##FFD12E1.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CE00
Deuteranopia (green-blind)
#F5DB3A
Tritanopia (blue-blind)
#FFBFB4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ffd12e;
/* rgb */ color: rgb(255, 209, 46);
/* oklch */ color: oklch(87.6% 0.169 91.5);
Tailwind
colors: {
  custom: {
    50: '#ffde76',
    500: '#ffd12e',
    950: '#000000',
  },
}
SCSS
$custom: #ffd12e;
$custom-light: #ffde76;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd12e",
  "rgb": {
    "r": 255,
    "g": 209,
    "b": 46
  },
  "hsl": {
    "h": 46.794,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.87606,
    "c": 0.16906,
    "h": 91.5
  },
  "luminance": 0.67058
}

Semantic roles & 50–950 ramp

primary
#FFD12E
secondary
#1F40B2
accent
#58FF29
background
#FFFEFB
surface
#FFFCF1
border
#D7D5CB
text
#19150A
muted
#87847D

Preview Lab

Preview with #FFD12E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#FFD12E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva