#D0B758#D0B758

#D0B758 is a light, moderate yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.118 H 94.8°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#D0B758
RGBrgb(208, 183, 88)
HSLhsl(48, 56%, 58%)
HSVhsv(48, 58%, 82%)
CMYKcmyk(0%, 12%, 57.7%, 18.4%)
CIE-LABlab(74.81, -2.59, 50.74)
CIE-LCHlch(74.81, 50.80, 92.92°)
OKLaboklab(78.21% -0.0098 0.1181)
OKLCHoklch(78.21% 0.118 94.8)
XYZxyz(44.7092, 47.9835, 16.1374)
Luminance0.4798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B758 #5871D0
analogous
#D07B58 #D0B758 #ADD058
triadic
#D0B758 #58D0B7 #B758D0
tetradic
#D0B758 #58D07B #5871D0 #D058AD
square
#D0B758 #58D07B #5871D0 #D058AD
split-complementary
#D0B758 #58ADD0 #7B58D0
monochromatic
#877326 #B79C34 #D0B758 #DDCC88 #EBE0B8

Accessibility & contrast

On white

1.98
#D0B758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#D0B758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B758
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B758#FFFFFF#000000##000000
##D0B7581.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44F
Deuteranopia (green-blind)
#CEBB5C
Tritanopia (blue-blind)
#DFABA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d0b758;
/* rgb */ color: rgb(208, 183, 88);
/* oklch */ color: oklch(78.2% 0.118 94.8);
Tailwind
colors: {
  custom: {
    50: '#e1cc8a',
    500: '#d0b758',
    950: '#000000',
  },
}
SCSS
$custom: #d0b758;
$custom-light: #e1cc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b758",
  "rgb": {
    "r": 208,
    "g": 183,
    "b": 88
  },
  "hsl": {
    "h": 47.5,
    "s": 56.075,
    "l": 58.039
  },
  "oklch": {
    "l": 0.78205,
    "c": 0.11848,
    "h": 94.8
  },
  "luminance": 0.47981
}

Semantic roles & 50–950 ramp

primary
#D0B758
secondary
#AAB4DA
accent
#68DF48
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D0B758

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

Preview Lab → · Contrast checker → · Palette generator →

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