#DFC77C#DFC77C

#DFC77C is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.3% C 0.098 H 92.3°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#DFC77C
RGBrgb(223, 199, 124)
HSLhsl(45, 61%, 68%)
HSVhsv(45, 44%, 87%)
CMYKcmyk(0%, 10.8%, 44.4%, 12.5%)
CIE-LABlab(80.73, -1.58, 40.53)
CIE-LCHlch(80.73, 40.56, 92.24°)
OKLaboklab(83.34% -0.0039 0.0984)
OKLCHoklch(83.34% 0.098 92.3)
XYZxyz(54.4945, 57.9922, 27.3880)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC77C #7C94DF
analogous
#DF967C #DFC77C #C5DF7C
triadic
#DFC77C #7CDFC7 #C77CDF
tetradic
#DFC77C #7CDF96 #7C94DF #DF7CC5
square
#DFC77C #7CDF96 #7C94DF #DF7CC5
split-complementary
#DFC77C #7CC5DF #967CDF
monochromatic
#B5932C #D3B24B #DFC77C #EBDCAD #F7F1DE

Accessibility & contrast

On white

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

On black

12.60
#DFC77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC77C
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC77C#FFFFFF#000000##000000
##DFC77C1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc77c;
/* rgb */ color: rgb(223, 199, 124);
/* oklch */ color: oklch(83.3% 0.098 92.3);
Tailwind
colors: {
  custom: {
    50: '#ebd7a3',
    500: '#dfc77c',
    950: '#000000',
  },
}
SCSS
$custom: #dfc77c;
$custom-light: #ebd7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc77c",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 124
  },
  "hsl": {
    "h": 45.455,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83343,
    "c": 0.09844,
    "h": 92.3
  },
  "luminance": 0.5799
}

Semantic roles & 50–950 ramp

primary
#DFC77C
secondary
#4964B6
accent
#47C81D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DFC77C

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

Preview Lab → · Contrast checker → · Palette generator →

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