#D2B457#D2B457

#D2B457 is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.8% C 0.118 H 91.6°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#D2B457
RGBrgb(210, 180, 87)
HSLhsl(45, 58%, 58%)
HSVhsv(45, 59%, 82%)
CMYKcmyk(0%, 14.3%, 58.6%, 17.6%)
CIE-LABlab(74.21, -0.24, 50.57)
CIE-LCHlch(74.21, 50.57, 90.27°)
OKLaboklab(77.77% -0.0033 0.1175)
OKLCHoklch(77.77% 0.118 91.6)
XYZxyz(44.6218, 47.0346, 15.7432)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B457 #5775D2
analogous
#D27657 #D2B457 #B2D257
triadic
#D2B457 #57D2B4 #B457D2
tetradic
#D2B457 #57D276 #5775D2 #D257B2
square
#D2B457 #57D276 #5775D2 #D257B2
split-complementary
#D2B457 #57B2D2 #7657D2
monochromatic
#8A7125 #BA9932 #D2B457 #DFCA87 #ECDFB8

Accessibility & contrast

On white

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

On black

10.41
#D2B457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B457
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B457#FFFFFF#000000##000000
##D2B4571.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b457;
/* rgb */ color: rgb(210, 180, 87);
/* oklch */ color: oklch(77.8% 0.118 91.6);
Tailwind
colors: {
  custom: {
    50: '#e3ca89',
    500: '#d2b457',
    950: '#000000',
  },
}
SCSS
$custom: #d2b457;
$custom-light: #e3ca89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b457",
  "rgb": {
    "r": 210,
    "g": 180,
    "b": 87
  },
  "hsl": {
    "h": 45.366,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.77769,
    "c": 0.11759,
    "h": 91.6
  },
  "luminance": 0.47032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B457

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

Preview Lab → · Contrast checker → · Palette generator →

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