#D2C24F#D2C24F

#D2C24F is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.6% C 0.135 H 101.4°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#D2C24F
RGBrgb(210, 194, 79)
HSLhsl(53, 59%, 57%)
HSVhsv(53, 62%, 82%)
CMYKcmyk(0%, 7.6%, 62.4%, 17.6%)
CIE-LABlab(77.79, -8.08, 58.16)
CIE-LCHlch(77.79, 58.72, 97.90°)
OKLaboklab(80.58% -0.0268 0.1327)
OKLCHoklch(80.58% 0.135 101.4)
XYZxyz(47.2833, 52.8516, 15.1064)
Luminance0.5285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C24F #4F5FD2
analogous
#D2814F #D2C24F #A1D24F
triadic
#D2C24F #4FD2C2 #C24FD2
tetradic
#D2C24F #4FD281 #4F5FD2 #D24FA1
square
#D2C24F #4FD281 #4F5FD2 #D24FA1
split-complementary
#D2C24F #4FA1D2 #814FD2
monochromatic
#857922 #B5A52E #D2C24F #DED380 #EBE4B0

Accessibility & contrast

On white

1.82
#D2C24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#D2C24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C24F
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C24F#FFFFFF#000000##000000
##D2C24F1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC42
Deuteranopia (green-blind)
#D8C355
Tritanopia (blue-blind)
#E1B5AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c24f;
/* rgb */ color: rgb(210, 194, 79);
/* oklch */ color: oklch(80.6% 0.135 101.4);
Tailwind
colors: {
  custom: {
    50: '#e3d485',
    500: '#d2c24f',
    950: '#000000',
  },
}
SCSS
$custom: #d2c24f;
$custom-light: #e3d485;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c24f",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 79
  },
  "hsl": {
    "h": 52.672,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80575,
    "c": 0.13539,
    "h": 101.4
  },
  "luminance": 0.5285
}

Semantic roles & 50–950 ramp

primary
#D2C24F
secondary
#3A448C
accent
#59E245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C24F

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

Preview Lab → · Contrast checker → · Palette generator →

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