#D1B23E#D1B23E

#D1B23E is a light, vivid yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.136 H 93.8°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#D1B23E
RGBrgb(209, 178, 62)
HSLhsl(47, 62%, 53%)
HSVhsv(47, 70%, 82%)
CMYKcmyk(0%, 14.8%, 70.3%, 18%)
CIE-LABlab(73.38, -1.17, 60.63)
CIE-LCHlch(73.38, 60.64, 91.10°)
OKLaboklab(77.02% -0.0089 0.1352)
OKLCHoklch(77.02% 0.136 93.8)
XYZxyz(43.0866, 45.7463, 11.1170)
Luminance0.4574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B23E #3E5DD1
analogous
#D1683E #D1B23E #A6D13E
triadic
#D1B23E #3ED1B2 #B23ED1
tetradic
#D1B23E #3ED168 #3E5DD1 #D13EA6
square
#D1B23E #3ED168 #3E5DD1 #D13EA6
split-complementary
#D1B23E #3EA6D1 #683ED1
monochromatic
#78651D #A98E28 #D1B23E #DDC66F #E9D9A1

Accessibility & contrast

On white

2.07
#D1B23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#D1B23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B23E
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B23E#FFFFFF#000000##000000
##D1B23E1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2E
Deuteranopia (green-blind)
#CCB844
Tritanopia (blue-blind)
#E2A49A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d1b23e;
/* rgb */ color: rgb(209, 178, 62);
/* oklch */ color: oklch(77.0% 0.136 93.8);
Tailwind
colors: {
  custom: {
    50: '#e3c87a',
    500: '#d1b23e',
    950: '#000000',
  },
}
SCSS
$custom: #d1b23e;
$custom-light: #e3c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b23e",
  "rgb": {
    "r": 209,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 47.347,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7702,
    "c": 0.13553,
    "h": 93.8
  },
  "luminance": 0.45744
}

Semantic roles & 50–950 ramp

primary
#D1B23E
secondary
#96A3D5
accent
#65E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B23E

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

Preview Lab → · Contrast checker → · Palette generator →

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