#D1C33E#D1C33E

#D1C33E is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.6% C 0.149 H 103.2°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#D1C33E
RGBrgb(209, 195, 62)
HSLhsl(54, 62%, 53%)
HSVhsv(54, 70%, 82%)
CMYKcmyk(0%, 6.7%, 70.3%, 18%)
CIE-LABlab(77.84, -9.98, 65.07)
CIE-LCHlch(77.84, 65.83, 98.72°)
OKLaboklab(80.55% -0.034 0.1446)
OKLCHoklch(80.55% 0.149 103.2)
XYZxyz(46.6811, 52.9352, 12.3151)
Luminance0.5293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C33E #3E4CD1
analogous
#D17A3E #D1C33E #95D13E
triadic
#D1C33E #3ED1C3 #C33ED1
tetradic
#D1C33E #3ED17A #3E4CD1 #D13E95
square
#D1C33E #3ED17A #3E4CD1 #D13E95
split-complementary
#D1C33E #3E95D1 #7A3ED1
monochromatic
#786F1D #A99D28 #D1C33E #DDD26F #E9E2A1

Accessibility & contrast

On white

1.81
#D1C33E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#D1C33E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C33E
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C33E#FFFFFF#000000##000000
##D1C33E1.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD29
Deuteranopia (green-blind)
#D9C347
Tritanopia (blue-blind)
#E1B6A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d1c33e;
/* rgb */ color: rgb(209, 195, 62);
/* oklch */ color: oklch(80.6% 0.149 103.2);
Tailwind
colors: {
  custom: {
    50: '#e3d47b',
    500: '#d1c33e',
    950: '#000000',
  },
}
SCSS
$custom: #d1c33e;
$custom-light: #e3d47b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c33e",
  "rgb": {
    "r": 209,
    "g": 195,
    "b": 62
  },
  "hsl": {
    "h": 54.286,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80552,
    "c": 0.14855,
    "h": 103.2
  },
  "luminance": 0.52933
}

Semantic roles & 50–950 ramp

primary
#D1C33E
secondary
#333A80
accent
#53E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C33E

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

Preview Lab → · Contrast checker → · Palette generator →

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