#D4D233#D4D233

#D4D233 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 83.9% C 0.168 H 108.8°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#D4D233
RGBrgb(212, 210, 51)
HSLhsl(59, 65%, 52%)
HSVhsv(59, 76%, 83%)
CMYKcmyk(0%, 0.9%, 75.9%, 16.9%)
CIE-LABlab(82.02, -16.73, 72.84)
CIE-LCHlch(82.02, 74.74, 102.93°)
OKLaboklab(83.93% -0.0541 0.159)
OKLCHoklch(83.93% 0.168 108.8)
XYZxyz(50.7975, 60.3309, 12.1005)
Luminance0.6033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D233 #3335D4
analogous
#D48233 #D4D233 #86D433
triadic
#D4D233 #33D4D2 #D233D4
tetradic
#D4D233 #33D482 #3335D4 #D43386
square
#D4D233 #33D482 #3335D4 #D43386
split-complementary
#D4D233 #3386D4 #8233D4
monochromatic
#747318 #A7A523 #D4D233 #DFDD66 #E9E898

Accessibility & contrast

On white

1.61
#D4D233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.07
#D4D233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D233
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D233#FFFFFF#000000##000000
##D4D2331.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C904
Deuteranopia (green-blind)
#E6CE40
Tritanopia (blue-blind)
#E3C4B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d4d233;
/* rgb */ color: rgb(212, 210, 51);
/* oklch */ color: oklch(83.9% 0.168 108.8);
Tailwind
colors: {
  custom: {
    50: '#e5df78',
    500: '#d4d233',
    950: '#000000',
  },
}
SCSS
$custom: #d4d233;
$custom-light: #e5df78;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d233",
  "rgb": {
    "r": 212,
    "g": 210,
    "b": 51
  },
  "hsl": {
    "h": 59.255,
    "s": 65.182,
    "l": 51.569
  },
  "oklch": {
    "l": 0.83925,
    "c": 0.16797,
    "h": 108.8
  },
  "luminance": 0.60329
}

Semantic roles & 50–950 ramp

primary
#D4D233
secondary
#2F307D
accent
#42E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4D233

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

Preview Lab → · Contrast checker → · Palette generator →

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