#D2B23F#D2B23F

#D2B23F is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.1% C 0.135 H 93.2°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#D2B23F
RGBrgb(210, 178, 63)
HSLhsl(47, 62%, 54%)
HSVhsv(47, 70%, 82%)
CMYKcmyk(0%, 15.2%, 70%, 17.6%)
CIE-LABlab(73.48, -0.68, 60.36)
CIE-LCHlch(73.48, 60.36, 90.65°)
OKLaboklab(77.13% -0.0075 0.1348)
OKLCHoklch(77.13% 0.135 93.2)
XYZxyz(43.3982, 45.9038, 11.2761)
Luminance0.4590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B23F #3F5FD2
analogous
#D2683F #D2B23F #A8D23F
triadic
#D2B23F #3FD2B2 #B23FD2
tetradic
#D2B23F #3FD268 #3F5FD2 #D23FA8
square
#D2B23F #3FD268 #3F5FD2 #D23FA8
split-complementary
#D2B23F #3FA8D2 #683FD2
monochromatic
#7A661D #AC8F28 #D2B23F #DEC671 #E9DAA2

Accessibility & contrast

On white

2.06
#D2B23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#D2B23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B23F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B23F#FFFFFF#000000##000000
##D2B23F1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2F
Deuteranopia (green-blind)
#CDB945
Tritanopia (blue-blind)
#E3A49B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b23f;
/* rgb */ color: rgb(210, 178, 63);
/* oklch */ color: oklch(77.1% 0.135 93.2);
Tailwind
colors: {
  custom: {
    50: '#e4c87b',
    500: '#d2b23f',
    950: '#000000',
  },
}
SCSS
$custom: #d2b23f;
$custom-light: #e4c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b23f",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 46.939,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77125,
    "c": 0.13502,
    "h": 93.2
  },
  "luminance": 0.45901
}

Semantic roles & 50–950 ramp

primary
#D2B23F
secondary
#97A5D6
accent
#66E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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