#D4CE3E#D4CE3E

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

Color values

HEX#D4CE3E
RGBrgb(212, 206, 62)
HSLhsl(58, 64%, 54%)
HSVhsv(58, 71%, 83%)
CMYKcmyk(0%, 2.8%, 70.8%, 16.9%)
CIE-LABlab(81.01, -14.27, 68.26)
CIE-LCHlch(81.01, 69.73, 101.81°)
OKLaboklab(83.14% -0.0462 0.1513)
OKLCHoklch(83.14% 0.158 107)
XYZxyz(50.0941, 58.4892, 13.2073)
Luminance0.5849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CE3E #3E44D4
analogous
#D4833E #D4CE3E #8FD43E
triadic
#D4CE3E #3ED4CE #CE3ED4
tetradic
#D4CE3E #3ED483 #3E44D4 #D43E8F
square
#D4CE3E #3ED483 #3E44D4 #D43E8F
split-complementary
#D4CE3E #3E8FD4 #833ED4
monochromatic
#7C781C #AEA927 #D4CE3E #DFDB70 #EAE7A2

Accessibility & contrast

On white

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

On black

12.70
#D4CE3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CE3E
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CE3E#FFFFFF#000000##000000
##D4CE3E1.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4ce3e;
/* rgb */ color: rgb(212, 206, 62);
/* oklch */ color: oklch(83.1% 0.158 107.0);
Tailwind
colors: {
  custom: {
    50: '#e5dc7d',
    500: '#d4ce3e',
    950: '#000000',
  },
}
SCSS
$custom: #d4ce3e;
$custom-light: #e5dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ce3e",
  "rgb": {
    "r": 212,
    "g": 206,
    "b": 62
  },
  "hsl": {
    "h": 57.6,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.83139,
    "c": 0.15816,
    "h": 107
  },
  "luminance": 0.58487
}

Semantic roles & 50–950 ramp

primary
#D4CE3E
secondary
#333684
accent
#48E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4CE3E

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

Preview Lab → · Contrast checker → · Palette generator →

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