#DFDF7F#DFDF7F

#DFDF7F is a very light, moderate yellow. Relative luminance 0.700; OKLCH L 88.3% C 0.119 H 108.6°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#DFDF7F
RGBrgb(223, 223, 127)
HSLhsl(60, 60%, 69%)
HSVhsv(60, 43%, 87%)
CMYKcmyk(0%, 0%, 43%, 12.5%)
CIE-LABlab(87.00, -13.48, 46.87)
CIE-LCHlch(87.00, 48.77, 106.05°)
OKLaboklab(88.32% -0.038 0.1128)
OKLCHoklch(88.32% 0.119 108.6)
XYZxyz(60.6509, 69.9970, 30.3903)
Luminance0.7000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF7F #7F7FDF
analogous
#DFAF7F #DFDF7F #AFDF7F
triadic
#DFDF7F #7FDFDF #DF7FDF
tetradic
#DFDF7F #7FDFAF #7F7FDF #DF7FAF
square
#DFDF7F #7FDFAF #7F7FDF #DF7FAF
split-complementary
#DFDF7F #7FAFDF #AF7FDF
monochromatic
#B6B62E #D3D34E #DFDF7F #EBEBB0 #F7F7E1

Accessibility & contrast

On white

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

On black

15.00
#DFDF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF7F
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF7F#FFFFFF#000000##000000
##DFDF7F1.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD877
Deuteranopia (green-blind)
#EEDC83
Tritanopia (blue-blind)
#EBD4C8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfdf7f;
/* rgb */ color: rgb(223, 223, 127);
/* oklch */ color: oklch(88.3% 0.119 108.6);
Tailwind
colors: {
  custom: {
    50: '#eae8a6',
    500: '#dfdf7f',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf7f;
$custom-light: #eae8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf7f",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 127
  },
  "hsl": {
    "h": 60,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88319,
    "c": 0.119,
    "h": 108.6
  },
  "luminance": 0.69996
}

Semantic roles & 50–950 ramp

primary
#DFDF7F
secondary
#4C4CB6
accent
#1EC81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #DFDF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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