#D1B253#D1B253

#D1B253 is a light, moderate yellow. Relative luminance 0.460; OKLCH L 77.2% C 0.119 H 91.3°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#D1B253
RGBrgb(209, 178, 83)
HSLhsl(45, 58%, 57%)
HSVhsv(45, 60%, 82%)
CMYKcmyk(0%, 14.8%, 60.3%, 18%)
CIE-LABlab(73.56, 0.10, 51.68)
CIE-LCHlch(73.56, 51.68, 89.89°)
OKLaboklab(77.22% -0.0027 0.1195)
OKLCHoklch(77.22% 0.119 91.3)
XYZxyz(43.7782, 46.0229, 14.7593)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B253 #5372D1
analogous
#D17353 #D1B253 #B1D153
triadic
#D1B253 #53D1B2 #B253D1
tetradic
#D1B253 #53D173 #5372D1 #D153B1
square
#D1B253 #53D173 #5372D1 #D153B1
split-complementary
#D1B253 #53B1D1 #7353D1
monochromatic
#866E24 #B69531 #D1B253 #DEC883 #EBDDB4

Accessibility & contrast

On white

2.06
#D1B253 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#D1B253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B253
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B253#FFFFFF#000000##000000
##D1B2531.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B049
Deuteranopia (green-blind)
#CBB857
Tritanopia (blue-blind)
#E1A59D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d1b253;
/* rgb */ color: rgb(209, 178, 83);
/* oklch */ color: oklch(77.2% 0.119 91.3);
Tailwind
colors: {
  custom: {
    50: '#e2c887',
    500: '#d1b253',
    950: '#000000',
  },
}
SCSS
$custom: #d1b253;
$custom-light: #e2c887;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b253",
  "rgb": {
    "r": 209,
    "g": 178,
    "b": 83
  },
  "hsl": {
    "h": 45.238,
    "s": 57.798,
    "l": 57.255
  },
  "oklch": {
    "l": 0.7722,
    "c": 0.11949,
    "h": 91.3
  },
  "luminance": 0.46021
}

Semantic roles & 50–950 ramp

primary
#D1B253
secondary
#A6B3D9
accent
#6DE147
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B253

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

Preview Lab → · Contrast checker → · Palette generator →

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