#D4CE3B#D4CE3B

#D4CE3B is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.1% C 0.160 H 107.0°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#D4CE3B
RGBrgb(212, 206, 59)
HSLhsl(58, 64%, 53%)
HSVhsv(58, 72%, 83%)
CMYKcmyk(0%, 2.8%, 72.2%, 16.9%)
CIE-LABlab(80.99, -14.41, 69.29)
CIE-LCHlch(80.99, 70.77, 101.74°)
OKLaboklab(83.12% -0.0469 0.1529)
OKLCHoklch(83.12% 0.16 107)
XYZxyz(50.0141, 58.4572, 12.7857)
Luminance0.5846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CE3B #3B41D4
analogous
#D4813B #D4CE3B #8DD43B
triadic
#D4CE3B #3BD4CE #CE3BD4
tetradic
#D4CE3B #3BD481 #3B41D4 #D43B8D
square
#D4CE3B #3BD481 #3B41D4 #D43B8D
split-complementary
#D4CE3B #3B8DD4 #813BD4
monochromatic
#7A761B #ACA726 #D4CE3B #DFDB6D #EAE79F

Accessibility & contrast

On white

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

On black

12.69
#D4CE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CE3B
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CE3B#FFFFFF#000000##000000
##D4CE3B1.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC61F
Deuteranopia (green-blind)
#E2CC46
Tritanopia (blue-blind)
#E3C0B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4ce3b;
/* rgb */ color: rgb(212, 206, 59);
/* oklch */ color: oklch(83.1% 0.160 107.0);
Tailwind
colors: {
  custom: {
    50: '#e5dc7b',
    500: '#d4ce3b',
    950: '#000000',
  },
}
SCSS
$custom: #d4ce3b;
$custom-light: #e5dc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ce3b",
  "rgb": {
    "r": 212,
    "g": 206,
    "b": 59
  },
  "hsl": {
    "h": 57.647,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.8312,
    "c": 0.15994,
    "h": 107
  },
  "luminance": 0.58455
}

Semantic roles & 50–950 ramp

primary
#D4CE3B
secondary
#313582
accent
#47E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4CE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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