#D6C24D#D6C24D

#D6C24D is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.9% C 0.137 H 99.6°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#D6C24D
RGBrgb(214, 194, 77)
HSLhsl(51, 63%, 57%)
HSVhsv(51, 64%, 84%)
CMYKcmyk(0%, 9.3%, 64%, 16.1%)
CIE-LABlab(78.12, -6.52, 59.48)
CIE-LCHlch(78.12, 59.84, 96.25°)
OKLaboklab(80.92% -0.0228 0.1351)
OKLCHoklch(80.92% 0.137 99.6)
XYZxyz(48.3649, 53.4177, 14.7828)
Luminance0.5342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C24D #4D61D6
analogous
#D67E4D #D6C24D #A6D64D
triadic
#D6C24D #4DD6C2 #C24DD6
tetradic
#D6C24D #4DD67E #4D61D6 #D64DA6
square
#D6C24D #4DD67E #4D61D6 #D64DA6
split-complementary
#D6C24D #4DA6D6 #7E4DD6
monochromatic
#897A20 #BBA62B #D6C24D #E1D37F #EDE4B0

Accessibility & contrast

On white

1.80
#D6C24D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#D6C24D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C24D
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C24D#FFFFFF#000000##000000
##D6C24D1.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3F
Deuteranopia (green-blind)
#D9C453
Tritanopia (blue-blind)
#E6B5A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d6c24d;
/* rgb */ color: rgb(214, 194, 77);
/* oklch */ color: oklch(80.9% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#e6d484',
    500: '#d6c24d',
    950: '#000000',
  },
}
SCSS
$custom: #d6c24d;
$custom-light: #e6d484;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c24d",
  "rgb": {
    "r": 214,
    "g": 194,
    "b": 77
  },
  "hsl": {
    "h": 51.241,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80917,
    "c": 0.13703,
    "h": 99.6
  },
  "luminance": 0.53416
}

Semantic roles & 50–950 ramp

primary
#D6C24D
secondary
#38458F
accent
#5AE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C24D

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

Preview Lab → · Contrast checker → · Palette generator →

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