#DFD297#DFD297

#DFD297 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 86.0% C 0.078 H 97.2°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#DFD297
RGBrgb(223, 210, 151)
HSLhsl(49, 53%, 73%)
HSVhsv(49, 32%, 87%)
CMYKcmyk(0%, 5.8%, 32.3%, 12.5%)
CIE-LABlab(83.97, -4.25, 30.92)
CIE-LCHlch(83.97, 31.21, 97.82°)
OKLaboklab(86.04% -0.0097 0.0772)
OKLCHoklch(86.04% 0.078 97.2)
XYZxyz(59.0646, 64.0171, 38.5173)
Luminance0.6402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD297 #97A4DF
analogous
#DFAE97 #DFD297 #C8DF97
triadic
#DFD297 #97DFD2 #D297DF
tetradic
#DFD297 #97DFAE #97A4DF #DF97C8
square
#DFD297 #97DFAE #97A4DF #DF97C8
split-complementary
#DFD297 #97C8DF #AE97DF
monochromatic
#C0A83B #D1BE68 #DFD297 #EDE6C6 #F8F5E8

Accessibility & contrast

On white

1.52
#DFD297 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#DFD297 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD297
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD297#FFFFFF#000000##000000
##DFD2971.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECF93
Deuteranopia (green-blind)
#E1D399
Tritanopia (blue-blind)
#EACAC3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd297;
/* rgb */ color: rgb(223, 210, 151);
/* oklch */ color: oklch(86.0% 0.078 97.2);
Tailwind
colors: {
  custom: {
    50: '#eadfb6',
    500: '#dfd297',
    950: '#000000',
  },
}
SCSS
$custom: #dfd297;
$custom-light: #eadfb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd297",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 151
  },
  "hsl": {
    "h": 49.167,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.86039,
    "c": 0.07781,
    "h": 97.2
  },
  "luminance": 0.64016
}

Semantic roles & 50–950 ramp

primary
#DFD297
secondary
#6372B7
accent
#41C025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD297

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

Preview Lab → · Contrast checker → · Palette generator →

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