#D1B458#D1B458

#D1B458 is a light, moderate yellow. Relative luminance 0.469; OKLCH L 77.7% C 0.116 H 92.0°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#D1B458
RGBrgb(209, 180, 88)
HSLhsl(46, 57%, 58%)
HSVhsv(46, 58%, 82%)
CMYKcmyk(0%, 13.9%, 57.9%, 18%)
CIE-LABlab(74.13, -0.59, 49.97)
CIE-LCHlch(74.13, 49.98, 90.67°)
OKLaboklab(77.69% -0.0041 0.1164)
OKLCHoklch(77.69% 0.116 92)
XYZxyz(44.3791, 46.9046, 15.9465)
Luminance0.4690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B458 #5875D1
analogous
#D17758 #D1B458 #B1D158
triadic
#D1B458 #58D1B4 #B458D1
tetradic
#D1B458 #58D177 #5875D1 #D158B1
square
#D1B458 #58D177 #5875D1 #D158B1
split-complementary
#D1B458 #58B1D1 #7758D1
monochromatic
#897126 #B99933 #D1B458 #DECA88 #EBDFB8

Accessibility & contrast

On white

2.02
#D1B458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#D1B458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B458
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B458#FFFFFF#000000##000000
##D1B4581.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B14F
Deuteranopia (green-blind)
#CCBA5C
Tritanopia (blue-blind)
#E0A89F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d1b458;
/* rgb */ color: rgb(209, 180, 88);
/* oklch */ color: oklch(77.7% 0.116 92.0);
Tailwind
colors: {
  custom: {
    50: '#e2ca8a',
    500: '#d1b458',
    950: '#000000',
  },
}
SCSS
$custom: #d1b458;
$custom-light: #e2ca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b458",
  "rgb": {
    "r": 209,
    "g": 180,
    "b": 88
  },
  "hsl": {
    "h": 45.62,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.77685,
    "c": 0.11647,
    "h": 92
  },
  "luminance": 0.46902
}

Semantic roles & 50–950 ramp

primary
#D1B458
secondary
#AAB6DA
accent
#6CE048
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D1B458

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

Preview Lab → · Contrast checker → · Palette generator →

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