#D2B143#D2B143

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

Color values

HEX#D2B143
RGBrgb(210, 177, 67)
HSLhsl(46, 61%, 54%)
HSVhsv(46, 68%, 82%)
CMYKcmyk(0%, 15.7%, 68.1%, 17.6%)
CIE-LABlab(73.25, 0.05, 58.48)
CIE-LCHlch(73.25, 58.48, 89.95°)
OKLaboklab(76.96% -0.0049 0.1315)
OKLCHoklch(76.96% 0.132 92.1)
XYZxyz(43.3158, 45.5536, 11.8203)
Luminance0.4555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B143 #4364D2
analogous
#D26A43 #D2B143 #ABD243
triadic
#D2B143 #43D2B1 #B143D2
tetradic
#D2B143 #43D26A #4364D2 #D243AB
square
#D2B143 #43D26A #4364D2 #D243AB
split-complementary
#D2B143 #43ABD2 #6A43D2
monochromatic
#7D671E #AE902A #D2B143 #DEC574 #EADAA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B143#FFFFFF#000000##000000
##D2B1431.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)
#C4AE35
Deuteranopia (green-blind)
#CCB848
Tritanopia (blue-blind)
#E3A39A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b143;
/* rgb */ color: rgb(210, 177, 67);
/* oklch */ color: oklch(77.0% 0.132 92.1);
Tailwind
colors: {
  custom: {
    50: '#e4c87d',
    500: '#d2b143',
    950: '#000000',
  },
}
SCSS
$custom: #d2b143;
$custom-light: #e4c87d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b143",
  "rgb": {
    "r": 210,
    "g": 177,
    "b": 67
  },
  "hsl": {
    "h": 46.154,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76955,
    "c": 0.13162,
    "h": 92.1
  },
  "luminance": 0.45551
}

Semantic roles & 50–950 ramp

primary
#D2B143
secondary
#9AA8D7
accent
#69E443
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B143

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

Preview Lab → · Contrast checker → · Palette generator →

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