#D2D233#D2D233

#D2D233 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.8% C 0.168 H 109.5°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#D2D233
RGBrgb(210, 210, 51)
HSLhsl(60, 64%, 51%)
HSVhsv(60, 76%, 82%)
CMYKcmyk(0%, 0%, 75.7%, 17.6%)
CIE-LABlab(81.86, -17.57, 72.63)
CIE-LCHlch(81.86, 74.73, 103.60°)
OKLaboklab(83.76% -0.0563 0.1587)
OKLCHoklch(83.76% 0.168 109.5)
XYZxyz(50.2244, 60.0354, 12.0737)
Luminance0.6003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D233 #3333D2
analogous
#D28233 #D2D233 #82D233
triadic
#D2D233 #33D2D2 #D233D2
tetradic
#D2D233 #33D282 #3333D2 #D23382
square
#D2D233 #33D282 #3333D2 #D23382
split-complementary
#D2D233 #3382D2 #8233D2
monochromatic
#727219 #A4A424 #D2D233 #DDDD65 #E8E897

Accessibility & contrast

On white

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

On black

13.01
#D2D233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D233
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D233#FFFFFF#000000##000000
##D2D2331.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C904
Deuteranopia (green-blind)
#E5CE41
Tritanopia (blue-blind)
#E1C4B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d233;
/* rgb */ color: rgb(210, 210, 51);
/* oklch */ color: oklch(83.8% 0.168 109.5);
Tailwind
colors: {
  custom: {
    50: '#e4df78',
    500: '#d2d233',
    950: '#000000',
  },
}
SCSS
$custom: #d2d233;
$custom-light: #e4df78;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d233",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 51
  },
  "hsl": {
    "h": 60,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.83758,
    "c": 0.16837,
    "h": 109.5
  },
  "luminance": 0.60034
}

Semantic roles & 50–950 ramp

primary
#D2D233
secondary
#2F2F7A
accent
#41E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2D233

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

Preview Lab → · Contrast checker → · Palette generator →

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