#D2B448#D2B448

#D2B448 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.6% C 0.130 H 93.5°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#D2B448
RGBrgb(210, 180, 72)
HSLhsl(47, 61%, 55%)
HSVhsv(47, 66%, 82%)
CMYKcmyk(0%, 14.3%, 65.7%, 17.6%)
CIE-LABlab(74.07, -1.24, 57.21)
CIE-LCHlch(74.07, 57.22, 91.24°)
OKLaboklab(77.61% -0.008 0.1296)
OKLCHoklch(77.61% 0.13 93.5)
XYZxyz(44.0714, 46.8144, 12.8444)
Luminance0.4681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B448 #4866D2
analogous
#D26F48 #D2B448 #ABD248
triadic
#D2B448 #48D2B4 #B448D2
tetradic
#D2B448 #48D26F #4866D2 #D248AB
square
#D2B448 #48D26F #4866D2 #D248AB
split-complementary
#D2B448 #48ABD2 #6F48D2
monochromatic
#806B20 #B1942C #D2B448 #DEC879 #EADCAA

Accessibility & contrast

On white

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

On black

10.36
#D2B448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B448
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B448#FFFFFF#000000##000000
##D2B4481.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13B
Deuteranopia (green-blind)
#CEBA4D
Tritanopia (blue-blind)
#E2A69D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d2b448;
/* rgb */ color: rgb(210, 180, 72);
/* oklch */ color: oklch(77.6% 0.130 93.5);
Tailwind
colors: {
  custom: {
    50: '#e3ca80',
    500: '#d2b448',
    950: '#000000',
  },
}
SCSS
$custom: #d2b448;
$custom-light: #e3ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b448",
  "rgb": {
    "r": 210,
    "g": 180,
    "b": 72
  },
  "hsl": {
    "h": 46.957,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77612,
    "c": 0.1299,
    "h": 93.5
  },
  "luminance": 0.46812
}

Semantic roles & 50–950 ramp

primary
#D2B448
secondary
#9EABD8
accent
#67E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B448

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

Preview Lab → · Contrast checker → · Palette generator →

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