#D2B248#D2B248

#D2B248 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.2% C 0.129 H 92.2°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#D2B248
RGBrgb(210, 178, 72)
HSLhsl(46, 61%, 55%)
HSVhsv(46, 66%, 82%)
CMYKcmyk(0%, 15.2%, 65.7%, 17.6%)
CIE-LABlab(73.55, -0.19, 56.66)
CIE-LCHlch(73.55, 56.66, 90.19°)
OKLaboklab(77.2% -0.005 0.1285)
OKLCHoklch(77.2% 0.129 92.2)
XYZxyz(43.6706, 46.0127, 12.7108)
Luminance0.4601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B248 #4868D2
analogous
#D26D48 #D2B248 #ADD248
triadic
#D2B248 #48D2B2 #B248D2
tetradic
#D2B248 #48D26D #4868D2 #D248AD
square
#D2B248 #48D26D #4868D2 #D248AD
split-complementary
#D2B248 #48ADD2 #6D48D2
monochromatic
#806A20 #B1922C #D2B248 #DEC779 #EADBAA

Accessibility & contrast

On white

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

On black

10.20
#D2B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B248
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B248#FFFFFF#000000##000000
##D2B2481.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3B
Deuteranopia (green-blind)
#CCB94D
Tritanopia (blue-blind)
#E2A49C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2b248;
/* rgb */ color: rgb(210, 178, 72);
/* oklch */ color: oklch(77.2% 0.129 92.2);
Tailwind
colors: {
  custom: {
    50: '#e3c880',
    500: '#d2b248',
    950: '#000000',
  },
}
SCSS
$custom: #d2b248;
$custom-light: #e3c880;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b248",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 46.087,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77204,
    "c": 0.12858,
    "h": 92.2
  },
  "luminance": 0.4601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B248

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

Preview Lab → · Contrast checker → · Palette generator →

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