#DFC77E#DFC77E

#DFC77E is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.4% C 0.096 H 91.9°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#DFC77E
RGBrgb(223, 199, 126)
HSLhsl(45, 60%, 68%)
HSVhsv(45, 43%, 87%)
CMYKcmyk(0%, 10.8%, 43.5%, 12.5%)
CIE-LABlab(80.76, -1.38, 39.56)
CIE-LCHlch(80.76, 39.58, 92.00°)
OKLaboklab(83.38% -0.0032 0.0963)
OKLCHoklch(83.38% 0.096 91.9)
XYZxyz(54.6222, 58.0433, 28.0609)
Luminance0.5804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC77E #7E96DF
analogous
#DF967E #DFC77E #C6DF7E
triadic
#DFC77E #7EDFC7 #C77EDF
tetradic
#DFC77E #7EDF96 #7E96DF #DF7EC6
square
#DFC77E #7EDF96 #7E96DF #DF7EC6
split-complementary
#DFC77E #7EC6DF #967EDF
monochromatic
#B6942D #D3B24D #DFC77E #EBDCAF #F7F2E0

Accessibility & contrast

On white

1.67
#DFC77E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#DFC77E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC77E
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC77E#FFFFFF#000000##000000
##DFC77E1.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C478
Deuteranopia (green-blind)
#DCCC81
Tritanopia (blue-blind)
#EDBCB5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc77e;
/* rgb */ color: rgb(223, 199, 126);
/* oklch */ color: oklch(83.4% 0.096 91.9);
Tailwind
colors: {
  custom: {
    50: '#ead7a4',
    500: '#dfc77e',
    950: '#000000',
  },
}
SCSS
$custom: #dfc77e;
$custom-light: #ead7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc77e",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 126
  },
  "hsl": {
    "h": 45.155,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.83375,
    "c": 0.0963,
    "h": 91.9
  },
  "luminance": 0.58041
}

Semantic roles & 50–950 ramp

primary
#DFC77E
secondary
#4B66B6
accent
#48C81E
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16140F
muted
#858380

Preview Lab

Preview with #DFC77E

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

Preview Lab → · Contrast checker → · Palette generator →

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