#D2B848#D2B848

#D2B848 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.4% C 0.133 H 96.1°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#D2B848
RGBrgb(210, 184, 72)
HSLhsl(49, 61%, 55%)
HSVhsv(49, 66%, 82%)
CMYKcmyk(0%, 12.4%, 65.7%, 17.6%)
CIE-LABlab(75.11, -3.33, 58.31)
CIE-LCHlch(75.11, 58.40, 93.27°)
OKLaboklab(78.43% -0.014 0.132)
OKLCHoklch(78.43% 0.133 96.1)
XYZxyz(44.8906, 48.4527, 13.1174)
Luminance0.4845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B848 #4862D2
analogous
#D27348 #D2B848 #A7D248
triadic
#D2B848 #48D2B8 #B848D2
tetradic
#D2B848 #48D273 #4862D2 #D248A7
square
#D2B848 #48D273 #4862D2 #D248A7
split-complementary
#D2B848 #48A7D2 #7348D2
monochromatic
#806E20 #B1982C #D2B848 #DECB79 #EADEAA

Accessibility & contrast

On white

1.96
#D2B848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#D2B848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B848
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B848#FFFFFF#000000##000000
##D2B8481.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43A
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#E2ABA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b848;
/* rgb */ color: rgb(210, 184, 72);
/* oklch */ color: oklch(78.4% 0.133 96.1);
Tailwind
colors: {
  custom: {
    50: '#e3cd80',
    500: '#d2b848',
    950: '#000000',
  },
}
SCSS
$custom: #d2b848;
$custom-light: #e3cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b848",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 72
  },
  "hsl": {
    "h": 48.696,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78434,
    "c": 0.13272,
    "h": 96.1
  },
  "luminance": 0.4845
}

Semantic roles & 50–950 ramp

primary
#D2B848
secondary
#9EA9D8
accent
#62E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B848

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

Preview Lab → · Contrast checker → · Palette generator →

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