#D8BA43#D8BA43

#D8BA43 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.4% C 0.138 H 94.7°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#D8BA43
RGBrgb(216, 186, 67)
HSLhsl(48, 66%, 55%)
HSVhsv(48, 69%, 85%)
CMYKcmyk(0%, 13.9%, 69%, 15.3%)
CIE-LABlab(76.15, -2.09, 61.63)
CIE-LCHlch(76.15, 61.67, 91.94°)
OKLaboklab(79.37% -0.0114 0.138)
OKLCHoklch(79.37% 0.138 94.7)
XYZxyz(46.8933, 50.1245, 12.5141)
Luminance0.5012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BA43 #4361D8
analogous
#D86F43 #D8BA43 #ACD843
triadic
#D8BA43 #43D8BA #BA43D8
tetradic
#D8BA43 #43D86F #4361D8 #D843AC
square
#D8BA43 #43D86F #4361D8 #D843AC
split-complementary
#D8BA43 #43ACD8 #6F43D8
monochromatic
#85701C #B89A26 #D8BA43 #E3CD76 #EDDFA8

Accessibility & contrast

On white

1.90
#D8BA43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#D8BA43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BA43
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BA43#FFFFFF#000000##000000
##D8BA431.001.9011.0211.02
#FFFFFF1.901.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB633
Deuteranopia (green-blind)
#D5C049
Tritanopia (blue-blind)
#E9ACA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d8ba43;
/* rgb */ color: rgb(216, 186, 67);
/* oklch */ color: oklch(79.4% 0.138 94.7);
Tailwind
colors: {
  custom: {
    50: '#e8ce7e',
    500: '#d8ba43',
    950: '#000000',
  },
}
SCSS
$custom: #d8ba43;
$custom-light: #e8ce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ba43",
  "rgb": {
    "r": 216,
    "g": 186,
    "b": 67
  },
  "hsl": {
    "h": 47.919,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79371,
    "c": 0.13847,
    "h": 94.7
  },
  "luminance": 0.50122
}

Semantic roles & 50–950 ramp

primary
#D8BA43
secondary
#34458C
accent
#61E93F
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #D8BA43

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

Preview Lab → · Contrast checker → · Palette generator →

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