#D2B455#D2B455

#D2B455 is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.7% C 0.119 H 91.9°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#D2B455
RGBrgb(210, 180, 85)
HSLhsl(46, 58%, 58%)
HSVhsv(46, 60%, 82%)
CMYKcmyk(0%, 14.3%, 59.5%, 17.6%)
CIE-LABlab(74.19, -0.39, 51.48)
CIE-LCHlch(74.19, 51.48, 90.43°)
OKLaboklab(77.75% -0.004 0.1193)
OKLCHoklch(77.75% 0.119 91.9)
XYZxyz(44.5413, 47.0023, 15.3188)
Luminance0.4700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B455 #5573D2
analogous
#D27555 #D2B455 #B1D255
triadic
#D2B455 #55D2B4 #B455D2
tetradic
#D2B455 #55D275 #5573D2 #D255B1
square
#D2B455 #55D275 #5573D2 #D255B1
split-complementary
#D2B455 #55B1D2 #7555D2
monochromatic
#887024 #B99831 #D2B455 #DFC985 #ECDFB6

Accessibility & contrast

On white

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

On black

10.40
#D2B455 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B455
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B455#FFFFFF#000000##000000
##D2B4551.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B14B
Deuteranopia (green-blind)
#CDBA59
Tritanopia (blue-blind)
#E2A79F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d2b455;
/* rgb */ color: rgb(210, 180, 85);
/* oklch */ color: oklch(77.7% 0.119 91.9);
Tailwind
colors: {
  custom: {
    50: '#e3ca88',
    500: '#d2b455',
    950: '#000000',
  },
}
SCSS
$custom: #d2b455;
$custom-light: #e3ca88;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b455",
  "rgb": {
    "r": 210,
    "g": 180,
    "b": 85
  },
  "hsl": {
    "h": 45.6,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.77746,
    "c": 0.11934,
    "h": 91.9
  },
  "luminance": 0.47
}

Semantic roles & 50–950 ramp

primary
#D2B455
secondary
#A8B4DA
accent
#6CE146
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2B455

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

Preview Lab → · Contrast checker → · Palette generator →

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