#DFD277#DFD277

#DFD277 is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.5% C 0.114 H 101.3°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#DFD277
RGBrgb(223, 210, 119)
HSLhsl(53, 62%, 67%)
HSVhsv(53, 47%, 87%)
CMYKcmyk(0%, 5.8%, 46.6%, 12.5%)
CIE-LABlab(83.50, -7.72, 46.47)
CIE-LCHlch(83.50, 47.10, 99.43°)
OKLaboklab(85.51% -0.0221 0.1113)
OKLCHoklch(85.51% 0.114 101.3)
XYZxyz(56.8093, 63.1149, 26.6391)
Luminance0.6311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD277 #7784DF
analogous
#DF9E77 #DFD277 #B8DF77
triadic
#DFD277 #77DFD2 #D277DF
tetradic
#DFD277 #77DF9E #7784DF #DF77B8
square
#DFD277 #77DF9E #7784DF #DF77B8
split-complementary
#DFD277 #77B8DF #9E77DF
monochromatic
#B2A12A #D3C245 #DFD277 #EBE2A9 #F6F3DA

Accessibility & contrast

On white

1.54
#DFD277 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#DFD277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD277
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD277#FFFFFF#000000##000000
##DFD2771.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD6F
Deuteranopia (green-blind)
#E5D37B
Tritanopia (blue-blind)
#EDC7BC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd277;
/* rgb */ color: rgb(223, 210, 119);
/* oklch */ color: oklch(85.5% 0.114 101.3);
Tailwind
colors: {
  custom: {
    50: '#ebdfa0',
    500: '#dfd277',
    950: '#000000',
  },
}
SCSS
$custom: #dfd277;
$custom-light: #ebdfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd277",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 119
  },
  "hsl": {
    "h": 52.5,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85512,
    "c": 0.11352,
    "h": 101.3
  },
  "luminance": 0.63113
}

Semantic roles & 50–950 ramp

primary
#DFD277
secondary
#4754B3
accent
#32CA1C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD277

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

Preview Lab → · Contrast checker → · Palette generator →

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