#D2B43F#D2B43F

#D2B43F is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.5% C 0.136 H 94.4°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#D2B43F
RGBrgb(210, 180, 63)
HSLhsl(48, 62%, 54%)
HSVhsv(48, 70%, 82%)
CMYKcmyk(0%, 14.3%, 70%, 17.6%)
CIE-LABlab(74.00, -1.74, 60.88)
CIE-LCHlch(74.00, 60.91, 91.63°)
OKLaboklab(77.54% -0.0105 0.1359)
OKLCHoklch(77.54% 0.136 94.4)
XYZxyz(43.7990, 46.7054, 11.4097)
Luminance0.4670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B43F #3F5DD2
analogous
#D26A3F #D2B43F #A6D23F
triadic
#D2B43F #3FD2B4 #B43FD2
tetradic
#D2B43F #3FD26A #3F5DD2 #D23FA6
square
#D2B43F #3FD26A #3F5DD2 #D23FA6
split-complementary
#D2B43F #3FA6D2 #6A3FD2
monochromatic
#7A671D #AC9128 #D2B43F #DEC771 #E9DBA2

Accessibility & contrast

On white

2.03
#D2B43F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#D2B43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B43F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B43F#FFFFFF#000000##000000
##D2B43F1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12E
Deuteranopia (green-blind)
#CEBA45
Tritanopia (blue-blind)
#E3A69C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d2b43f;
/* rgb */ color: rgb(210, 180, 63);
/* oklch */ color: oklch(77.5% 0.136 94.4);
Tailwind
colors: {
  custom: {
    50: '#e4ca7b',
    500: '#d2b43f',
    950: '#000000',
  },
}
SCSS
$custom: #d2b43f;
$custom-light: #e4ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b43f",
  "rgb": {
    "r": 210,
    "g": 180,
    "b": 63
  },
  "hsl": {
    "h": 47.755,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77535,
    "c": 0.13632,
    "h": 94.4
  },
  "luminance": 0.46703
}

Semantic roles & 50–950 ramp

primary
#D2B43F
secondary
#97A4D6
accent
#64E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B43F

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

Preview Lab → · Contrast checker → · Palette generator →

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