#FFDF39#FFDF39

#FFDF39 is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.4% C 0.172 H 97.5°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#FFDF39
RGBrgb(255, 223, 57)
HSLhsl(50, 100%, 61%)
HSVhsv(50, 78%, 100%)
CMYKcmyk(0%, 12.5%, 77.6%, 0%)
CIE-LABlab(89.08, -4.93, 78.77)
CIE-LCHlch(89.08, 78.92, 93.58°)
OKLaboklab(90.42% -0.0225 0.171)
OKLCHoklch(90.42% 0.173 97.5)
XYZxyz(68.3698, 74.3344, 14.6169)
Luminance0.7433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF39 #3959FF
analogous
#FF7C39 #FFDF39 #BCFF39
triadic
#FFDF39 #39FFDF #DF39FF
tetradic
#FFDF39 #39FF7C #3959FF #FF39BC
square
#FFDF39 #39FF7C #3959FF #FF39BC
split-complementary
#FFDF39 #39BCFF #7C39FF
monochromatic
#BE9F00 #FBD200 #FFDF39 #FFE976 #FFF3B3

Accessibility & contrast

On white

1.32
#FFDF39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.87
#FFDF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF39
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF39#FFFFFF#000000##000000
##FFDF391.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DA0C
Deuteranopia (green-blind)
#FEE445
Tritanopia (blue-blind)
#FFCEC0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ffdf39;
/* rgb */ color: rgb(255, 223, 57);
/* oklch */ color: oklch(90.4% 0.172 97.5);
Tailwind
colors: {
  custom: {
    50: '#ffe87d',
    500: '#ffdf39',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf39;
$custom-light: #ffe87d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf39",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 57
  },
  "hsl": {
    "h": 50.303,
    "s": 100,
    "l": 61.176
  },
  "oklch": {
    "l": 0.90424,
    "c": 0.1725,
    "h": 97.5
  },
  "luminance": 0.74331
}

Semantic roles & 50–950 ramp

primary
#FFDF39
secondary
#213ABB
accent
#25E600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19160B
muted
#87847E

Preview Lab

Preview with #FFDF39

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

Preview Lab → · Contrast checker → · Palette generator →

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