#D2B243#D2B243

#D2B243 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.2% C 0.132 H 92.8°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#D2B243
RGBrgb(210, 178, 67)
HSLhsl(47, 61%, 54%)
HSVhsv(47, 68%, 82%)
CMYKcmyk(0%, 15.2%, 68.1%, 17.6%)
CIE-LABlab(73.51, -0.47, 58.75)
CIE-LCHlch(73.51, 58.75, 90.46°)
OKLaboklab(77.16% -0.0064 0.1321)
OKLCHoklch(77.16% 0.132 92.8)
XYZxyz(43.5141, 45.9501, 11.8864)
Luminance0.4595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B243 #4363D2
analogous
#D26B43 #D2B243 #ABD243
triadic
#D2B243 #43D2B2 #B243D2
tetradic
#D2B243 #43D26B #4363D2 #D243AB
square
#D2B243 #43D26B #4363D2 #D243AB
split-complementary
#D2B243 #43ABD2 #6B43D2
monochromatic
#7D681E #AE902A #D2B243 #DEC674 #EADAA6

Accessibility & contrast

On white

2.06
#D2B243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#D2B243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B243
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B243#FFFFFF#000000##000000
##D2B2431.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF35
Deuteranopia (green-blind)
#CCB949
Tritanopia (blue-blind)
#E3A49B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2b243;
/* rgb */ color: rgb(210, 178, 67);
/* oklch */ color: oklch(77.2% 0.132 92.8);
Tailwind
colors: {
  custom: {
    50: '#e3c87d',
    500: '#d2b243',
    950: '#000000',
  },
}
SCSS
$custom: #d2b243;
$custom-light: #e3c87d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b243",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 67
  },
  "hsl": {
    "h": 46.573,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77159,
    "c": 0.13225,
    "h": 92.8
  },
  "luminance": 0.45948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B243

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

Preview Lab → · Contrast checker → · Palette generator →

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