#D0CF30#D0CF30

#D0CF30 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.9% C 0.167 H 109.2°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#D0CF30
RGBrgb(208, 207, 48)
HSLhsl(60, 63%, 50%)
HSVhsv(60, 77%, 82%)
CMYKcmyk(0%, 0.5%, 76.9%, 18.4%)
CIE-LABlab(80.88, -17.04, 72.59)
CIE-LCHlch(80.88, 74.56, 103.21°)
OKLaboklab(82.93% -0.055 0.1581)
OKLCHoklch(82.93% 0.167 109.2)
XYZxyz(48.8606, 58.2505, 11.4654)
Luminance0.5825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CF30 #3031D0
analogous
#D07F30 #D0CF30 #81D030
triadic
#D0CF30 #30D0CF #CF30D0
tetradic
#D0CF30 #30D07F #3031D0 #D03081
square
#D0CF30 #30D07F #3031D0 #D03081
split-complementary
#D0CF30 #3081D0 #7F30D0
monochromatic
#6D6C19 #9F9E24 #D0CF30 #DBDB62 #E7E694

Accessibility & contrast

On white

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

On black

12.65
#D0CF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CF30
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CF30#FFFFFF#000000##000000
##D0CF301.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#E2CB3E
Tritanopia (blue-blind)
#DFC1B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d0cf30;
/* rgb */ color: rgb(208, 207, 48);
/* oklch */ color: oklch(82.9% 0.167 109.2);
Tailwind
colors: {
  custom: {
    50: '#e2dd76',
    500: '#d0cf30',
    950: '#000000',
  },
}
SCSS
$custom: #d0cf30;
$custom-light: #e2dd76;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cf30",
  "rgb": {
    "r": 208,
    "g": 207,
    "b": 48
  },
  "hsl": {
    "h": 59.625,
    "s": 62.992,
    "l": 50.196
  },
  "oklch": {
    "l": 0.82931,
    "c": 0.1674,
    "h": 109.2
  },
  "luminance": 0.58249
}

Semantic roles & 50–950 ramp

primary
#D0CF30
secondary
#2E2E76
accent
#43E642
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #D0CF30

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

Preview Lab → · Contrast checker → · Palette generator →

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