#D2B343#D2B343

#D2B343 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.4% C 0.133 H 93.4°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#D2B343
RGBrgb(210, 179, 67)
HSLhsl(47, 61%, 54%)
HSVhsv(47, 68%, 82%)
CMYKcmyk(0%, 14.8%, 68.1%, 17.6%)
CIE-LABlab(73.77, -1.00, 59.02)
CIE-LCHlch(73.77, 59.02, 90.97°)
OKLaboklab(77.36% -0.0079 0.1327)
OKLCHoklch(77.36% 0.133 93.4)
XYZxyz(43.7138, 46.3495, 11.9529)
Luminance0.4635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B343 #4362D2
analogous
#D26C43 #D2B343 #AAD243
triadic
#D2B343 #43D2B3 #B343D2
tetradic
#D2B343 #43D26C #4362D2 #D243AA
square
#D2B343 #43D26C #4362D2 #D243AA
split-complementary
#D2B343 #43AAD2 #6C43D2
monochromatic
#7D681E #AE912A #D2B343 #DEC774 #EADBA6

Accessibility & contrast

On white

2.04
#D2B343 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#D2B343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B343
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B343#FFFFFF#000000##000000
##D2B3431.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B034
Deuteranopia (green-blind)
#CDB949
Tritanopia (blue-blind)
#E3A59C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2b343;
/* rgb */ color: rgb(210, 179, 67);
/* oklch */ color: oklch(77.4% 0.133 93.4);
Tailwind
colors: {
  custom: {
    50: '#e3c97d',
    500: '#d2b343',
    950: '#000000',
  },
}
SCSS
$custom: #d2b343;
$custom-light: #e3c97d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b343",
  "rgb": {
    "r": 210,
    "g": 179,
    "b": 67
  },
  "hsl": {
    "h": 46.993,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77363,
    "c": 0.1329,
    "h": 93.4
  },
  "luminance": 0.46347
}

Semantic roles & 50–950 ramp

primary
#D2B343
secondary
#9AA7D7
accent
#66E443
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B343

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

Preview Lab → · Contrast checker → · Palette generator →

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