#D1B658#D1B658

#D1B658 is a light, moderate yellow. Relative luminance 0.477; OKLCH L 78.1% C 0.118 H 93.5°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#D1B658
RGBrgb(209, 182, 88)
HSLhsl(47, 57%, 58%)
HSVhsv(47, 58%, 82%)
CMYKcmyk(0%, 12.9%, 57.9%, 18%)
CIE-LABlab(74.65, -1.64, 50.57)
CIE-LCHlch(74.65, 50.59, 91.86°)
OKLaboklab(78.09% -0.0072 0.1177)
OKLCHoklch(78.09% 0.118 93.5)
XYZxyz(44.7858, 47.7180, 16.0821)
Luminance0.4772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B658 #5873D1
analogous
#D17958 #D1B658 #AFD158
triadic
#D1B658 #58D1B6 #B658D1
tetradic
#D1B658 #58D179 #5873D1 #D158AF
square
#D1B658 #58D179 #5873D1 #D158AF
split-complementary
#D1B658 #58AFD1 #7958D1
monochromatic
#897326 #B99B33 #D1B658 #DECB88 #EBE0B8

Accessibility & contrast

On white

1.99
#D1B658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#D1B658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B658
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B658#FFFFFF#000000##000000
##D1B6581.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1b658;
/* rgb */ color: rgb(209, 182, 88);
/* oklch */ color: oklch(78.1% 0.118 93.5);
Tailwind
colors: {
  custom: {
    50: '#e2cb8a',
    500: '#d1b658',
    950: '#000000',
  },
}
SCSS
$custom: #d1b658;
$custom-light: #e2cb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b658",
  "rgb": {
    "r": 209,
    "g": 182,
    "b": 88
  },
  "hsl": {
    "h": 46.612,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78094,
    "c": 0.1179,
    "h": 93.5
  },
  "luminance": 0.47716
}

Semantic roles & 50–950 ramp

primary
#D1B658
secondary
#AAB5DA
accent
#6AE048
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D1B658

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

Preview Lab → · Contrast checker → · Palette generator →

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