#D8BA58#D8BA58

#D8BA58 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.6% C 0.122 H 92.4°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#D8BA58
RGBrgb(216, 186, 88)
HSLhsl(46, 62%, 60%)
HSVhsv(46, 59%, 85%)
CMYKcmyk(0%, 13.9%, 59.3%, 15.3%)
CIE-LABlab(76.33, -0.79, 52.66)
CIE-LCHlch(76.33, 52.66, 90.86°)
OKLaboklab(79.57% -0.0051 0.122)
OKLCHoklch(79.57% 0.122 92.4)
XYZxyz(47.6413, 50.4237, 16.4540)
Luminance0.5042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BA58 #5876D8
analogous
#D87A58 #D8BA58 #B6D858
triadic
#D8BA58 #58D8BA #BA58D8
tetradic
#D8BA58 #58D87A #5876D8 #D858B6
square
#D8BA58 #58D87A #5876D8 #D858B6
split-complementary
#D8BA58 #58B6D8 #7A58D8
monochromatic
#937922 #C5A12E #D8BA58 #E4CF8A #EFE3BB

Accessibility & contrast

On white

1.89
#D8BA58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#D8BA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BA58
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BA58#FFFFFF#000000##000000
##D8BA581.001.8911.0811.08
#FFFFFF1.891.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74E
Deuteranopia (green-blind)
#D3C05C
Tritanopia (blue-blind)
#E8ADA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d8ba58;
/* rgb */ color: rgb(216, 186, 88);
/* oklch */ color: oklch(79.6% 0.122 92.4);
Tailwind
colors: {
  custom: {
    50: '#e7ce8a',
    500: '#d8ba58',
    950: '#000000',
  },
}
SCSS
$custom: #d8ba58;
$custom-light: #e7ce8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ba58",
  "rgb": {
    "r": 216,
    "g": 186,
    "b": 88
  },
  "hsl": {
    "h": 45.938,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.79574,
    "c": 0.12213,
    "h": 92.4
  },
  "luminance": 0.50421
}

Semantic roles & 50–950 ramp

primary
#D8BA58
secondary
#3C5298
accent
#69E543
background
#FFFEFC
surface
#FEFAF4
border
#D6D3CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D8BA58

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

Preview Lab → · Contrast checker → · Palette generator →

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