#DFDF81#DFDF81

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

Color values

HEX#DFDF81
RGBrgb(223, 223, 129)
HSLhsl(60, 59%, 69%)
HSVhsv(60, 42%, 87%)
CMYKcmyk(0%, 0%, 42.2%, 12.5%)
CIE-LABlab(87.02, -13.28, 45.93)
CIE-LCHlch(87.02, 47.81, 106.13°)
OKLaboklab(88.35% -0.0372 0.1108)
OKLCHoklch(88.35% 0.117 108.6)
XYZxyz(60.7826, 70.0496, 31.0836)
Luminance0.7005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF81 #8181DF
analogous
#DFB081 #DFDF81 #B0DF81
triadic
#DFDF81 #81DFDF #DF81DF
tetradic
#DFDF81 #81DFB0 #8181DF #DF81B0
square
#DFDF81 #81DFB0 #8181DF #DF81B0
split-complementary
#DFDF81 #81B0DF #B081DF
monochromatic
#B7B72F #D3D350 #DFDF81 #EBEBB2 #F8F8E3

Accessibility & contrast

On white

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

On black

15.01
#DFDF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF81
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF81#FFFFFF#000000##000000
##DFDF811.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfdf81;
/* rgb */ color: rgb(223, 223, 129);
/* oklch */ color: oklch(88.3% 0.117 108.6);
Tailwind
colors: {
  custom: {
    50: '#eae8a7',
    500: '#dfdf81',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf81;
$custom-light: #eae8a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf81",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 129
  },
  "hsl": {
    "h": 60,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88347,
    "c": 0.11689,
    "h": 108.6
  },
  "luminance": 0.70048
}

Semantic roles & 50–950 ramp

primary
#DFDF81
secondary
#4E4EB6
accent
#1EC71E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#161610
muted
#858480

Preview Lab

Preview with #DFDF81

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

Preview Lab → · Contrast checker → · Palette generator →

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