#D2B450#D2B450

#D2B450 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.7% C 0.124 H 92.6°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#D2B450
RGBrgb(210, 180, 80)
HSLhsl(46, 59%, 57%)
HSVhsv(46, 62%, 82%)
CMYKcmyk(0%, 14.3%, 61.9%, 17.6%)
CIE-LABlab(74.14, -0.73, 53.73)
CIE-LCHlch(74.14, 53.74, 90.78°)
OKLaboklab(77.69% -0.0056 0.1234)
OKLCHoklch(77.69% 0.124 92.6)
XYZxyz(44.3496, 46.9257, 14.3094)
Luminance0.4692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B450 #506ED2
analogous
#D27350 #D2B450 #AFD250
triadic
#D2B450 #50D2B4 #B450D2
tetradic
#D2B450 #50D273 #506ED2 #D250AF
square
#D2B450 #50D273 #506ED2 #D250AF
split-complementary
#D2B450 #50AFD2 #7350D2
monochromatic
#856E22 #B6972F #D2B450 #DFC981 #EBDEB1

Accessibility & contrast

On white

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

On black

10.38
#D2B450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B450
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B450#FFFFFF#000000##000000
##D2B4501.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B145
Deuteranopia (green-blind)
#CDBA54
Tritanopia (blue-blind)
#E2A79E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d2b450;
/* rgb */ color: rgb(210, 180, 80);
/* oklch */ color: oklch(77.7% 0.124 92.6);
Tailwind
colors: {
  custom: {
    50: '#e3ca85',
    500: '#d2b450',
    950: '#000000',
  },
}
SCSS
$custom: #d2b450;
$custom-light: #e3ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b450",
  "rgb": {
    "r": 210,
    "g": 180,
    "b": 80
  },
  "hsl": {
    "h": 46.154,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.77692,
    "c": 0.12357,
    "h": 92.6
  },
  "luminance": 0.46923
}

Semantic roles & 50–950 ramp

primary
#D2B450
secondary
#A4B1D9
accent
#6AE246
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B450

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

Preview Lab → · Contrast checker → · Palette generator →

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