#D2B53F#D2B53F

#D2B53F is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.7% C 0.137 H 95.0°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#D2B53F
RGBrgb(210, 181, 63)
HSLhsl(48, 62%, 54%)
HSVhsv(48, 70%, 82%)
CMYKcmyk(0%, 13.8%, 70%, 17.6%)
CIE-LABlab(74.26, -2.26, 61.15)
CIE-LCHlch(74.26, 61.19, 92.12°)
OKLaboklab(77.74% -0.012 0.1365)
OKLCHoklch(77.74% 0.137 95)
XYZxyz(44.0016, 47.1106, 11.4773)
Luminance0.4711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B53F #3F5CD2
analogous
#D26B3F #D2B53F #A5D23F
triadic
#D2B53F #3FD2B5 #B53FD2
tetradic
#D2B53F #3FD26B #3F5CD2 #D23FA5
square
#D2B53F #3FD26B #3F5CD2 #D23FA5
split-complementary
#D2B53F #3FA5D2 #6B3FD2
monochromatic
#7A681D #AC9228 #D2B53F #DEC871 #E9DBA2

Accessibility & contrast

On white

2.02
#D2B53F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#D2B53F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B53F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B53F#FFFFFF#000000##000000
##D2B53F1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12E
Deuteranopia (green-blind)
#CFBA46
Tritanopia (blue-blind)
#E3A79D
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b53f;
/* rgb */ color: rgb(210, 181, 63);
/* oklch */ color: oklch(77.7% 0.137 95.0);
Tailwind
colors: {
  custom: {
    50: '#e4ca7b',
    500: '#d2b53f',
    950: '#000000',
  },
}
SCSS
$custom: #d2b53f;
$custom-light: #e4ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b53f",
  "rgb": {
    "r": 210,
    "g": 181,
    "b": 63
  },
  "hsl": {
    "h": 48.163,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.7774,
    "c": 0.137,
    "h": 95
  },
  "luminance": 0.47108
}

Semantic roles & 50–950 ramp

primary
#D2B53F
secondary
#97A3D6
accent
#63E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B53F

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

Preview Lab → · Contrast checker → · Palette generator →

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