#D2D67F#D2D67F

#D2D67F is a very light, moderate yellow. Relative luminance 0.633; OKLCH L 85.4% C 0.110 H 110.8°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#D2D67F
RGBrgb(210, 214, 127)
HSLhsl(63, 51%, 67%)
HSVhsv(63, 41%, 84%)
CMYKcmyk(1.9%, 0%, 40.7%, 16.1%)
CIE-LABlab(83.61, -14.09, 42.44)
CIE-LCHlch(83.61, 44.72, 108.37°)
OKLaboklab(85.38% -0.0391 0.103)
OKLCHoklch(85.38% 0.11 110.8)
XYZxyz(54.4564, 63.3280, 29.4294)
Luminance0.6333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D67F #837FD6
analogous
#D6AF7F #D2D67F #A7D67F
triadic
#D2D67F #7FD2D6 #D67FD2
tetradic
#D2D67F #7FD6AF #837FD6 #D67FA7
square
#D2D67F #7FD6AF #837FD6 #D67FA7
split-complementary
#D2D67F #7FA7D6 #AF7FD6
monochromatic
#A0A635 #C2C751 #D2D67F #E2E5AD #F3F4DC

Accessibility & contrast

On white

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

On black

13.67
#D2D67F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D67F
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D67F#FFFFFF#000000##000000
##D2D67F1.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF78
Deuteranopia (green-blind)
#E3D283
Tritanopia (blue-blind)
#DDCCC1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d67f;
/* rgb */ color: rgb(210, 214, 127);
/* oklch */ color: oklch(85.4% 0.110 110.8);
Tailwind
colors: {
  custom: {
    50: '#e1e2a5',
    500: '#d2d67f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d67f;
$custom-light: #e1e2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d67f",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 127
  },
  "hsl": {
    "h": 62.759,
    "s": 51.479,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85381,
    "c": 0.11012,
    "h": 110.8
  },
  "luminance": 0.63327
}

Semantic roles & 50–950 ramp

primary
#D2D67F
secondary
#5450AA
accent
#27BF2E
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D2D67F

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

Preview Lab → · Contrast checker → · Palette generator →

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