#D4CF33#D4CF33

#D4CF33 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.3% C 0.165 H 107.6°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#D4CF33
RGBrgb(212, 207, 51)
HSLhsl(58, 65%, 52%)
HSVhsv(58, 76%, 83%)
CMYKcmyk(0%, 2.4%, 75.9%, 16.9%)
CIE-LABlab(81.22, -15.24, 72.11)
CIE-LCHlch(81.22, 73.70, 101.93°)
OKLaboklab(83.29% -0.0499 0.1575)
OKLCHoklch(83.29% 0.165 107.6)
XYZxyz(50.0638, 58.8634, 11.8560)
Luminance0.5886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF33 #3338D4
analogous
#D47F33 #D4CF33 #88D433
triadic
#D4CF33 #33D4CF #CF33D4
tetradic
#D4CF33 #33D47F #3338D4 #D43388
square
#D4CF33 #33D47F #3338D4 #D43388
split-complementary
#D4CF33 #3388D4 #7F33D4
monochromatic
#747118 #A7A323 #D4CF33 #DFDB66 #E9E798

Accessibility & contrast

On white

1.64
#D4CF33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#D4CF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CF33
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CF33#FFFFFF#000000##000000
##D4CF331.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C707
Deuteranopia (green-blind)
#E3CC40
Tritanopia (blue-blind)
#E4C1B2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cf33;
/* rgb */ color: rgb(212, 207, 51);
/* oklch */ color: oklch(83.3% 0.165 107.6);
Tailwind
colors: {
  custom: {
    50: '#e5dd77',
    500: '#d4cf33',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf33;
$custom-light: #e5dd77;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf33",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 51
  },
  "hsl": {
    "h": 58.137,
    "s": 65.182,
    "l": 51.569
  },
  "oklch": {
    "l": 0.83285,
    "c": 0.16519,
    "h": 107.6
  },
  "luminance": 0.58862
}

Semantic roles & 50–950 ramp

primary
#D4CF33
secondary
#2F317D
accent
#45E840
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4CF33

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

Preview Lab → · Contrast checker → · Palette generator →

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