#DFC77F#DFC77F

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

Color values

HEX#DFC77F
RGBrgb(223, 199, 127)
HSLhsl(45, 60%, 69%)
HSVhsv(45, 43%, 87%)
CMYKcmyk(0%, 10.8%, 43%, 12.5%)
CIE-LABlab(80.78, -1.28, 39.07)
CIE-LCHlch(80.78, 39.09, 91.87°)
OKLaboklab(83.39% -0.0028 0.0952)
OKLCHoklch(83.39% 0.095 91.7)
XYZxyz(54.6871, 58.0692, 28.4024)
Luminance0.5807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC77F #7F97DF
analogous
#DF977F #DFC77F #C7DF7F
triadic
#DFC77F #7FDFC7 #C77FDF
tetradic
#DFC77F #7FDF97 #7F97DF #DF7FC7
square
#DFC77F #7FDF97 #7F97DF #DF7FC7
split-complementary
#DFC77F #7FC7DF #977FDF
monochromatic
#B6942E #D3B24E #DFC77F #EBDCB0 #F7F2E1

Accessibility & contrast

On white

1.66
#DFC77F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC77F#FFFFFF#000000##000000
##DFC77F1.001.6612.6112.61
#FFFFFF1.661.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc77f;
/* rgb */ color: rgb(223, 199, 127);
/* oklch */ color: oklch(83.4% 0.095 91.7);
Tailwind
colors: {
  custom: {
    50: '#ead7a5',
    500: '#dfc77f',
    950: '#000000',
  },
}
SCSS
$custom: #dfc77f;
$custom-light: #ead7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc77f",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 127
  },
  "hsl": {
    "h": 45,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.83391,
    "c": 0.09523,
    "h": 91.7
  },
  "luminance": 0.58067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC77F

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

Preview Lab → · Contrast checker → · Palette generator →

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