#FFDF58#FFDF58

#FFDF58 is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.6% C 0.154 H 95.8°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#FFDF58
RGBrgb(255, 223, 88)
HSLhsl(49, 100%, 67%)
HSVhsv(49, 65%, 100%)
CMYKcmyk(0%, 12.5%, 65.5%, 0%)
CIE-LABlab(89.27, -3.54, 67.81)
CIE-LCHlch(89.27, 67.90, 92.99°)
OKLaboklab(90.64% -0.0154 0.1533)
OKLCHoklch(90.64% 0.154 95.8)
XYZxyz(69.3924, 74.7435, 20.0025)
Luminance0.7474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF58 #5878FF
analogous
#FF8C58 #FFDF58 #CCFF58
triadic
#FFDF58 #58FFDF #DF58FF
tetradic
#FFDF58 #58FF8C #5878FF #FF58CC
square
#FFDF58 #58FF8C #5878FF #FF58CC
split-complementary
#FFDF58 #58CCFF #8C58FF
monochromatic
#DDB200 #FFD31B #FFDF58 #FFEB95 #FFF6D2

Accessibility & contrast

On white

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

On black

15.95
#FFDF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF58
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF58#FFFFFF#000000##000000
##FFDF581.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA47
Deuteranopia (green-blind)
#FDE55F
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ffdf58;
/* rgb */ color: rgb(255, 223, 88);
/* oklch */ color: oklch(90.6% 0.154 95.8);
Tailwind
colors: {
  custom: {
    50: '#ffe88d',
    500: '#ffdf58',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf58;
$custom-light: #ffe88d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf58",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 88
  },
  "hsl": {
    "h": 48.503,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.90637,
    "c": 0.15403,
    "h": 95.8
  },
  "luminance": 0.7474
}

Semantic roles & 50–950 ramp

primary
#FFDF58
secondary
#2647D6
accent
#2CE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFDF58

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

Preview Lab → · Contrast checker → · Palette generator →

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