#DFDF7B#DFDF7B

#DFDF7B is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.3% C 0.123 H 108.7°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#DFDF7B
RGBrgb(223, 223, 123)
HSLhsl(60, 61%, 68%)
HSVhsv(60, 45%, 87%)
CMYKcmyk(0%, 0%, 44.8%, 12.5%)
CIE-LABlab(86.95, -13.87, 48.75)
CIE-LCHlch(86.95, 50.68, 105.88°)
OKLaboklab(88.26% -0.0394 0.1167)
OKLCHoklch(88.26% 0.123 108.7)
XYZxyz(60.3954, 69.8947, 29.0446)
Luminance0.6989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF7B #7B7BDF
analogous
#DFAD7B #DFDF7B #ADDF7B
triadic
#DFDF7B #7BDFDF #DF7BDF
tetradic
#DFDF7B #7BDFAD #7B7BDF #DF7BAD
square
#DFDF7B #7BDFAD #7B7BDF #DF7BAD
split-complementary
#DFDF7B #7BADDF #AD7BDF
monochromatic
#B4B42C #D3D34A #DFDF7B #EBEBAC #F7F7DE

Accessibility & contrast

On white

1.40
#DFDF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.98
#DFDF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF7B
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF7B#FFFFFF#000000##000000
##DFDF7B1.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD873
Deuteranopia (green-blind)
#EFDC80
Tritanopia (blue-blind)
#EBD4C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfdf7b;
/* rgb */ color: rgb(223, 223, 123);
/* oklch */ color: oklch(88.3% 0.123 108.7);
Tailwind
colors: {
  custom: {
    50: '#ebe8a3',
    500: '#dfdf7b',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf7b;
$custom-light: #ebe8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf7b",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 123
  },
  "hsl": {
    "h": 60,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88262,
    "c": 0.12317,
    "h": 108.7
  },
  "luminance": 0.69893
}

Semantic roles & 50–950 ramp

primary
#DFDF7B
secondary
#4949B5
accent
#1DC91D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #DFDF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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