#D0B248#D0B248

#D0B248 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.128 H 93.3°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#D0B248
RGBrgb(208, 178, 72)
HSLhsl(47, 59%, 55%)
HSVhsv(47, 65%, 82%)
CMYKcmyk(0%, 14.4%, 65.4%, 18.4%)
CIE-LABlab(73.36, -1.04, 56.40)
CIE-LCHlch(73.36, 56.41, 91.06°)
OKLaboklab(77.01% -0.0073 0.128)
OKLCHoklch(77.01% 0.128 93.3)
XYZxyz(43.1046, 45.7209, 12.6842)
Luminance0.4572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B248 #4866D0
analogous
#D06E48 #D0B248 #AAD048
triadic
#D0B248 #48D0B2 #B248D0
tetradic
#D0B248 #48D06E #4866D0 #D048AA
square
#D0B248 #48D06E #4866D0 #D048AA
split-complementary
#D0B248 #48AAD0 #6E48D0
monochromatic
#7D6920 #AE922D #D0B248 #DDC679 #E9DBA9

Accessibility & contrast

On white

2.07
#D0B248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#D0B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B248
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B248#FFFFFF#000000##000000
##D0B2481.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3B
Deuteranopia (green-blind)
#CBB84D
Tritanopia (blue-blind)
#E0A59C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d0b248;
/* rgb */ color: rgb(208, 178, 72);
/* oklch */ color: oklch(77.0% 0.128 93.3);
Tailwind
colors: {
  custom: {
    50: '#e2c880',
    500: '#d0b248',
    950: '#000000',
  },
}
SCSS
$custom: #d0b248;
$custom-light: #e2c880;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b248",
  "rgb": {
    "r": 208,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 46.765,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.7701,
    "c": 0.1282,
    "h": 93.3
  },
  "luminance": 0.45719
}

Semantic roles & 50–950 ramp

primary
#D0B248
secondary
#9DAAD7
accent
#68E245
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0B248

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

Preview Lab → · Contrast checker → · Palette generator →

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