#D0CF34#D0CF34

#D0CF34 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.0% C 0.165 H 109.1°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#D0CF34
RGBrgb(208, 207, 52)
HSLhsl(60, 62%, 51%)
HSVhsv(60, 75%, 82%)
CMYKcmyk(0%, 0.5%, 75%, 18.4%)
CIE-LABlab(80.90, -16.89, 71.39)
CIE-LCHlch(80.90, 73.36, 103.31°)
OKLaboklab(82.95% -0.0542 0.1563)
OKLCHoklch(82.95% 0.165 109.1)
XYZxyz(48.9469, 58.2850, 11.9199)
Luminance0.5828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CF34 #3435D0
analogous
#D08134 #D0CF34 #83D034
triadic
#D0CF34 #34D0CF #CF34D0
tetradic
#D0CF34 #34D081 #3435D0 #D03483
square
#D0CF34 #34D081 #3435D0 #D03483
split-complementary
#D0CF34 #3483D0 #8134D0
monochromatic
#706F1A #A1A125 #D0CF34 #DCDB66 #E7E697

Accessibility & contrast

On white

1.66
#D0CF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#D0CF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CF34
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CF34#FFFFFF#000000##000000
##D0CF341.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C60C
Deuteranopia (green-blind)
#E2CB41
Tritanopia (blue-blind)
#DFC2B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d0cf34;
/* rgb */ color: rgb(208, 207, 52);
/* oklch */ color: oklch(83.0% 0.165 109.1);
Tailwind
colors: {
  custom: {
    50: '#e2dd78',
    500: '#d0cf34',
    950: '#000000',
  },
}
SCSS
$custom: #d0cf34;
$custom-light: #e2dd78;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cf34",
  "rgb": {
    "r": 208,
    "g": 207,
    "b": 52
  },
  "hsl": {
    "h": 59.615,
    "s": 62.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.82953,
    "c": 0.16542,
    "h": 109.1
  },
  "luminance": 0.58283
}

Semantic roles & 50–950 ramp

primary
#D0CF34
secondary
#2F3079
accent
#43E542
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D0CF34

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

Preview Lab → · Contrast checker → · Palette generator →

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