#D7CE3E#D7CE3E

#D7CE3E is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.4% C 0.158 H 105.7°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#D7CE3E
RGBrgb(215, 206, 62)
HSLhsl(56, 66%, 54%)
HSVhsv(56, 71%, 84%)
CMYKcmyk(0%, 4.2%, 71.2%, 15.7%)
CIE-LABlab(81.26, -13.00, 68.58)
CIE-LCHlch(81.26, 69.80, 100.74°)
OKLaboklab(83.4% -0.0428 0.1519)
OKLCHoklch(83.4% 0.158 105.7)
XYZxyz(50.9672, 58.9394, 13.2482)
Luminance0.5894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CE3E #3E47D7
analogous
#D7823E #D7CE3E #93D73E
triadic
#D7CE3E #3ED7CE #CE3ED7
tetradic
#D7CE3E #3ED782 #3E47D7 #D73E93
square
#D7CE3E #3ED782 #3E47D7 #D73E93
split-complementary
#D7CE3E #3E93D7 #823ED7
monochromatic
#807A1B #B3AA25 #D7CE3E #E2DB71 #ECE8A3

Accessibility & contrast

On white

1.64
#D7CE3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#D7CE3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CE3E
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CE3E#FFFFFF#000000##000000
##D7CE3E1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C625
Deuteranopia (green-blind)
#E3CD48
Tritanopia (blue-blind)
#E7C0B2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7ce3e;
/* rgb */ color: rgb(215, 206, 62);
/* oklch */ color: oklch(83.4% 0.158 105.7);
Tailwind
colors: {
  custom: {
    50: '#e7dc7d',
    500: '#d7ce3e',
    950: '#000000',
  },
}
SCSS
$custom: #d7ce3e;
$custom-light: #e7dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ce3e",
  "rgb": {
    "r": 215,
    "g": 206,
    "b": 62
  },
  "hsl": {
    "h": 56.471,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83397,
    "c": 0.15777,
    "h": 105.7
  },
  "luminance": 0.58937
}

Semantic roles & 50–950 ramp

primary
#D7CE3E
secondary
#323787
accent
#49E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D7CE3E

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

Preview Lab → · Contrast checker → · Palette generator →

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