#D2B558#D2B558

#D2B558 is a light, moderate yellow. Relative luminance 0.475; OKLCH L 78.0% C 0.117 H 92.2°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#D2B558
RGBrgb(210, 181, 88)
HSLhsl(46, 58%, 58%)
HSVhsv(46, 58%, 82%)
CMYKcmyk(0%, 13.8%, 58.1%, 17.6%)
CIE-LABlab(74.48, -0.69, 50.40)
CIE-LCHlch(74.48, 50.41, 90.79°)
OKLaboklab(77.99% -0.0045 0.1173)
OKLCHoklch(77.99% 0.117 92.2)
XYZxyz(44.8656, 47.4562, 16.0274)
Luminance0.4745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B558 #5875D2
analogous
#D27858 #D2B558 #B2D258
triadic
#D2B558 #58D2B5 #B558D2
tetradic
#D2B558 #58D278 #5875D2 #D258B2
square
#D2B558 #58D278 #5875D2 #D258B2
split-complementary
#D2B558 #58B2D2 #7858D2
monochromatic
#8A7225 #BB9A32 #D2B558 #DFCA88 #ECE0B8

Accessibility & contrast

On white

2.00
#D2B558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#D2B558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B558
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B558#FFFFFF#000000##000000
##D2B5581.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24F
Deuteranopia (green-blind)
#CDBB5C
Tritanopia (blue-blind)
#E1A8A0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b558;
/* rgb */ color: rgb(210, 181, 88);
/* oklch */ color: oklch(78.0% 0.117 92.2);
Tailwind
colors: {
  custom: {
    50: '#e3ca8a',
    500: '#d2b558',
    950: '#000000',
  },
}
SCSS
$custom: #d2b558;
$custom-light: #e3ca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b558",
  "rgb": {
    "r": 210,
    "g": 181,
    "b": 88
  },
  "hsl": {
    "h": 45.738,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.77985,
    "c": 0.11739,
    "h": 92.2
  },
  "luminance": 0.47454
}

Semantic roles & 50–950 ramp

primary
#D2B558
secondary
#ABB6DB
accent
#6CE147
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2B558

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

Preview Lab → · Contrast checker → · Palette generator →

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