#D1D233#D1D233

#D1D233 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.7% C 0.169 H 109.9°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#D1D233
RGBrgb(209, 210, 51)
HSLhsl(60, 64%, 51%)
HSVhsv(60, 76%, 82%)
CMYKcmyk(0.5%, 0%, 75.7%, 17.6%)
CIE-LABlab(81.78, -17.99, 72.53)
CIE-LCHlch(81.78, 74.73, 103.93°)
OKLaboklab(83.67% -0.0574 0.1585)
OKLCHoklch(83.67% 0.169 109.9)
XYZxyz(49.9405, 59.8890, 12.0604)
Luminance0.5989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D233 #3433D2
analogous
#D28333 #D1D233 #81D233
triadic
#D1D233 #33D1D2 #D233D1
tetradic
#D1D233 #33D283 #3433D2 #D23381
square
#D1D233 #33D283 #3433D2 #D23381
split-complementary
#D1D233 #3381D2 #8333D2
monochromatic
#717219 #A3A424 #D1D233 #DCDD65 #E8E897

Accessibility & contrast

On white

1.62
#D1D233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#D1D233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D233
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D233#FFFFFF#000000##000000
##D1D2331.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1d233;
/* rgb */ color: rgb(209, 210, 51);
/* oklch */ color: oklch(83.7% 0.169 109.9);
Tailwind
colors: {
  custom: {
    50: '#e3df78',
    500: '#d1d233',
    950: '#000000',
  },
}
SCSS
$custom: #d1d233;
$custom-light: #e3df78;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d233",
  "rgb": {
    "r": 209,
    "g": 210,
    "b": 51
  },
  "hsl": {
    "h": 60.377,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.83674,
    "c": 0.16858,
    "h": 109.9
  },
  "luminance": 0.59888
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1D233

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

Preview Lab → · Contrast checker → · Palette generator →

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