#D4CF23#D4CF23

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

Color values

HEX#D4CF23
RGBrgb(212, 207, 35)
HSLhsl(58, 72%, 48%)
HSVhsv(58, 83%, 83%)
CMYKcmyk(0%, 2.4%, 83.5%, 16.9%)
CIE-LABlab(81.15, -15.75, 76.35)
CIE-LCHlch(81.15, 77.96, 101.66°)
OKLaboklab(83.21% -0.0525 0.1638)
OKLCHoklch(83.21% 0.172 107.8)
XYZxyz(49.7697, 58.7458, 10.3072)
Luminance0.5874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF23 #2328D4
analogous
#D47623 #D4CF23 #80D423
triadic
#D4CF23 #23D4CF #CF23D4
tetradic
#D4CF23 #23D476 #2328D4 #D42380
square
#D4CF23 #23D476 #2328D4 #D42380
split-complementary
#D4CF23 #2380D4 #7623D4
monochromatic
#6B6812 #9F9C1A #D4CF23 #E2DE52 #EBE886

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CF23#FFFFFF#000000##000000
##D4CF231.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)
#E4CC35
Tritanopia (blue-blind)
#E4C1B1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cf23;
/* rgb */ color: rgb(212, 207, 35);
/* oklch */ color: oklch(83.2% 0.172 107.8);
Tailwind
colors: {
  custom: {
    50: '#e6dd71',
    500: '#d4cf23',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf23;
$custom-light: #e6dd71;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf23",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 35
  },
  "hsl": {
    "h": 58.305,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.83213,
    "c": 0.17199,
    "h": 107.8
  },
  "luminance": 0.58744
}

Semantic roles & 50–950 ramp

primary
#D4CF23
secondary
#272975
accent
#3FEE39
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D4CF23

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

Preview Lab → · Contrast checker → · Palette generator →

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