#D4CF25#D4CF25

#D4CF25 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.2% C 0.171 H 107.8°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#D4CF25
RGBrgb(212, 207, 37)
HSLhsl(58, 70%, 49%)
HSVhsv(58, 83%, 83%)
CMYKcmyk(0%, 2.4%, 82.5%, 16.9%)
CIE-LABlab(81.16, -15.70, 75.89)
CIE-LCHlch(81.16, 77.50, 101.69°)
OKLaboklab(83.22% -0.0522 0.1631)
OKLCHoklch(83.22% 0.171 107.8)
XYZxyz(49.8002, 58.7580, 10.4681)
Luminance0.5876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF25 #252AD4
analogous
#D47825 #D4CF25 #82D425
triadic
#D4CF25 #25D4CF #CF25D4
tetradic
#D4CF25 #25D478 #252AD4 #D42582
square
#D4CF25 #25D478 #252AD4 #D42582
split-complementary
#D4CF25 #2582D4 #7825D4
monochromatic
#6C6913 #A09C1C #D4CF25 #E1DD55 #EAE889

Accessibility & contrast

On white

1.65
#D4CF25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#D4CF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CF25
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CF25#FFFFFF#000000##000000
##D4CF251.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C600
Deuteranopia (green-blind)
#E4CC36
Tritanopia (blue-blind)
#E4C1B1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cf25;
/* rgb */ color: rgb(212, 207, 37);
/* oklch */ color: oklch(83.2% 0.171 107.8);
Tailwind
colors: {
  custom: {
    50: '#e6dd72',
    500: '#d4cf25',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf25;
$custom-light: #e6dd72;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf25",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 37
  },
  "hsl": {
    "h": 58.286,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.8322,
    "c": 0.17127,
    "h": 107.8
  },
  "luminance": 0.58756
}

Semantic roles & 50–950 ramp

primary
#D4CF25
secondary
#282A75
accent
#40ED3B
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D4CF25

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

Preview Lab → · Contrast checker → · Palette generator →

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