#D2B141#D2B141

#D2B141 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.133 H 92.3°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#D2B141
RGBrgb(210, 177, 65)
HSLhsl(46, 62%, 54%)
HSVhsv(46, 69%, 82%)
CMYKcmyk(0%, 15.7%, 69%, 17.6%)
CIE-LABlab(73.24, -0.05, 59.30)
CIE-LCHlch(73.24, 59.30, 90.05°)
OKLaboklab(76.94% -0.0054 0.1329)
OKLCHoklch(76.94% 0.133 92.3)
XYZxyz(43.2569, 45.5300, 11.5098)
Luminance0.4553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B141 #4162D2
analogous
#D26941 #D2B141 #ABD241
triadic
#D2B141 #41D2B1 #B141D2
tetradic
#D2B141 #41D269 #4162D2 #D241AB
square
#D2B141 #41D269 #4162D2 #D241AB
split-complementary
#D2B141 #41ABD2 #6941D2
monochromatic
#7B661D #AD8F29 #D2B141 #DEC572 #E9DAA4

Accessibility & contrast

On white

2.08
#D2B141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#D2B141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B141
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B141#FFFFFF#000000##000000
##D2B1411.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE32
Deuteranopia (green-blind)
#CCB847
Tritanopia (blue-blind)
#E3A39A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b141;
/* rgb */ color: rgb(210, 177, 65);
/* oklch */ color: oklch(76.9% 0.133 92.3);
Tailwind
colors: {
  custom: {
    50: '#e4c87c',
    500: '#d2b141',
    950: '#000000',
  },
}
SCSS
$custom: #d2b141;
$custom-light: #e4c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b141",
  "rgb": {
    "r": 210,
    "g": 177,
    "b": 65
  },
  "hsl": {
    "h": 46.345,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76938,
    "c": 0.13302,
    "h": 92.3
  },
  "luminance": 0.45528
}

Semantic roles & 50–950 ramp

primary
#D2B141
secondary
#98A7D6
accent
#68E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B141

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

Preview Lab → · Contrast checker → · Palette generator →

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