#D7CE2E#D7CE2E

#D7CE2E is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.3% C 0.166 H 106.1°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#D7CE2E
RGBrgb(215, 206, 46)
HSLhsl(57, 68%, 51%)
HSVhsv(57, 79%, 84%)
CMYKcmyk(0%, 4.2%, 78.6%, 15.7%)
CIE-LABlab(81.18, -13.65, 73.65)
CIE-LCHlch(81.18, 74.90, 100.50°)
OKLaboklab(83.31% -0.046 0.1597)
OKLCHoklch(83.31% 0.166 106.1)
XYZxyz(50.5910, 58.7889, 11.2667)
Luminance0.5879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CE2E #2E37D7
analogous
#D7792E #D7CE2E #8BD72E
triadic
#D7CE2E #2ED7CE #CE2ED7
tetradic
#D7CE2E #2ED779 #2E37D7 #D72E8B
square
#D7CE2E #2ED779 #2E37D7 #D72E8B
split-complementary
#D7CE2E #2E8BD7 #792ED7
monochromatic
#746F16 #A8A020 #D7CE2E #E1DA61 #EBE695

Accessibility & contrast

On white

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

On black

12.76
#D7CE2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CE2E
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CE2E#FFFFFF#000000##000000
##D7CE2E1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#E4CC3C
Tritanopia (blue-blind)
#E7C0B1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7ce2e;
/* rgb */ color: rgb(215, 206, 46);
/* oklch */ color: oklch(83.3% 0.166 106.1);
Tailwind
colors: {
  custom: {
    50: '#e8dc75',
    500: '#d7ce2e',
    950: '#000000',
  },
}
SCSS
$custom: #d7ce2e;
$custom-light: #e8dc75;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ce2e",
  "rgb": {
    "r": 215,
    "g": 206,
    "b": 46
  },
  "hsl": {
    "h": 56.805,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.83305,
    "c": 0.16623,
    "h": 106.1
  },
  "luminance": 0.58787
}

Semantic roles & 50–950 ramp

primary
#D7CE2E
secondary
#2C317D
accent
#46EB3D
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D7CE2E

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

Preview Lab → · Contrast checker → · Palette generator →

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