#D2B149#D2B149

#D2B149 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 77.0% C 0.127 H 91.4°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#D2B149
RGBrgb(210, 177, 73)
HSLhsl(46, 60%, 55%)
HSVhsv(46, 65%, 82%)
CMYKcmyk(0%, 15.7%, 65.2%, 17.6%)
CIE-LABlab(73.30, 0.40, 55.95)
CIE-LCHlch(73.30, 55.95, 89.59°)
OKLaboklab(77.01% -0.0032 0.1271)
OKLCHoklch(77.01% 0.127 91.4)
XYZxyz(43.5052, 45.6294, 12.8179)
Luminance0.4563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B149 #496AD2
analogous
#D26C49 #D2B149 #AFD249
triadic
#D2B149 #49D2B1 #B149D2
tetradic
#D2B149 #49D26C #496AD2 #D249AF
square
#D2B149 #49D26C #496AD2 #D249AF
split-complementary
#D2B149 #49AFD2 #6C49D2
monochromatic
#816920 #B2922C #D2B149 #DEC67A #EADBAB

Accessibility & contrast

On white

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

On black

10.13
#D2B149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B149
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B149#FFFFFF#000000##000000
##D2B1491.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF3D
Deuteranopia (green-blind)
#CBB84E
Tritanopia (blue-blind)
#E2A39B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b149;
/* rgb */ color: rgb(210, 177, 73);
/* oklch */ color: oklch(77.0% 0.127 91.4);
Tailwind
colors: {
  custom: {
    50: '#e3c880',
    500: '#d2b149',
    950: '#000000',
  },
}
SCSS
$custom: #d2b149;
$custom-light: #e3c880;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b149",
  "rgb": {
    "r": 210,
    "g": 177,
    "b": 73
  },
  "hsl": {
    "h": 45.547,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.7701,
    "c": 0.12718,
    "h": 91.4
  },
  "luminance": 0.45627
}

Semantic roles & 50–950 ramp

primary
#D2B149
secondary
#9FADD8
accent
#6BE344
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B149

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

Preview Lab → · Contrast checker → · Palette generator →

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