#D0CF3B#D0CF3B

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

Color values

HEX#D0CF3B
RGBrgb(208, 207, 59)
HSLhsl(60, 61%, 52%)
HSVhsv(60, 72%, 82%)
CMYKcmyk(0%, 0.5%, 71.6%, 18.4%)
CIE-LABlab(80.93, -16.59, 69.12)
CIE-LCHlch(80.93, 71.08, 103.49°)
OKLaboklab(82.99% -0.0528 0.1527)
OKLCHoklch(82.99% 0.162 109.1)
XYZxyz(49.1165, 58.3528, 12.8128)
Luminance0.5835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CF3B #3B3CD0
analogous
#D0843B #D0CF3B #87D03B
triadic
#D0CF3B #3BD0CF #CF3BD0
tetradic
#D0CF3B #3BD084 #3B3CD0 #D03B87
square
#D0CF3B #3BD084 #3B3CD0 #D03B87
split-complementary
#D0CF3B #3B87D0 #843BD0
monochromatic
#75741C #A6A528 #D0CF3B #DCDB6C #E8E79E

Accessibility & contrast

On white

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

On black

12.67
#D0CF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CF3B
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CF3B#FFFFFF#000000##000000
##D0CF3B1.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0cf3b;
/* rgb */ color: rgb(208, 207, 59);
/* oklch */ color: oklch(83.0% 0.162 109.1);
Tailwind
colors: {
  custom: {
    50: '#e2dd7b',
    500: '#d0cf3b',
    950: '#000000',
  },
}
SCSS
$custom: #d0cf3b;
$custom-light: #e2dd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cf3b",
  "rgb": {
    "r": 208,
    "g": 207,
    "b": 59
  },
  "hsl": {
    "h": 59.597,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82995,
    "c": 0.16156,
    "h": 109.1
  },
  "luminance": 0.58351
}

Semantic roles & 50–950 ramp

primary
#D0CF3B
secondary
#32337D
accent
#44E443
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D0CF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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