#D7C92E#D7C92E

#D7C92E is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.3% C 0.162 H 103.9°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#D7C92E
RGBrgb(215, 201, 46)
HSLhsl(55, 68%, 51%)
HSVhsv(55, 79%, 84%)
CMYKcmyk(0%, 6.5%, 78.6%, 15.7%)
CIE-LABlab(79.85, -11.13, 72.48)
CIE-LCHlch(79.85, 73.33, 98.73°)
OKLaboklab(82.25% -0.039 0.1572)
OKLCHoklch(82.25% 0.162 103.9)
XYZxyz(49.4064, 56.4197, 10.8719)
Luminance0.5642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C92E #2E3CD7
analogous
#D7742E #D7C92E #90D72E
triadic
#D7C92E #2ED7C9 #C92ED7
tetradic
#D7C92E #2ED774 #2E3CD7 #D72E90
square
#D7C92E #2ED774 #2E3CD7 #D72E90
split-complementary
#D7C92E #2E90D7 #742ED7
monochromatic
#746D16 #A89C20 #D7C92E #E1D661 #EBE495

Accessibility & contrast

On white

1.71
#D7C92E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#D7C92E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C92E
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C92E#FFFFFF#000000##000000
##D7C92E1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC200
Deuteranopia (green-blind)
#E0C93B
Tritanopia (blue-blind)
#E8BBAD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c92e;
/* rgb */ color: rgb(215, 201, 46);
/* oklch */ color: oklch(82.3% 0.162 103.9);
Tailwind
colors: {
  custom: {
    50: '#e8d975',
    500: '#d7c92e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c92e;
$custom-light: #e8d975;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c92e",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 46
  },
  "hsl": {
    "h": 55.03,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.82251,
    "c": 0.16197,
    "h": 103.9
  },
  "luminance": 0.56418
}

Semantic roles & 50–950 ramp

primary
#D7C92E
secondary
#2C337D
accent
#4BEB3D
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171409
muted
#85837D

Preview Lab

Preview with #D7C92E

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

Preview Lab → · Contrast checker → · Palette generator →

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