#D0B442#D0B442

#D0B442 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.4% C 0.134 H 95.1°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#D0B442
RGBrgb(208, 180, 66)
HSLhsl(48, 60%, 54%)
HSVhsv(48, 68%, 82%)
CMYKcmyk(0%, 13.5%, 68.3%, 18.4%)
CIE-LABlab(73.84, -2.44, 59.44)
CIE-LCHlch(73.84, 59.49, 92.35°)
OKLaboklab(77.37% -0.012 0.1335)
OKLCHoklch(77.37% 0.134 95.1)
XYZxyz(43.3192, 46.4480, 11.8368)
Luminance0.4645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B442 #425ED0
analogous
#D06D42 #D0B442 #A5D042
triadic
#D0B442 #42D0B4 #B442D0
tetradic
#D0B442 #42D06D #425ED0 #D042A5
square
#D0B442 #42D06D #425ED0 #D042A5
split-complementary
#D0B442 #42A5D0 #6D42D0
monochromatic
#79671E #AA912A #D0B442 #DCC773 #E8DBA4

Accessibility & contrast

On white

2.04
#D0B442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#D0B442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B442
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B442#FFFFFF#000000##000000
##D0B4421.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B033
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#E0A69D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d0b442;
/* rgb */ color: rgb(208, 180, 66);
/* oklch */ color: oklch(77.4% 0.134 95.1);
Tailwind
colors: {
  custom: {
    50: '#e2ca7c',
    500: '#d0b442',
    950: '#000000',
  },
}
SCSS
$custom: #d0b442;
$custom-light: #e2ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b442",
  "rgb": {
    "r": 208,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 48.169,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77367,
    "c": 0.13399,
    "h": 95.1
  },
  "luminance": 0.46446
}

Semantic roles & 50–950 ramp

primary
#D0B442
secondary
#99A5D5
accent
#64E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0B442

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

Preview Lab → · Contrast checker → · Palette generator →

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