#D1B750#D1B750

#D1B750 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.126 H 95.2°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#D1B750
RGBrgb(209, 183, 80)
HSLhsl(48, 58%, 57%)
HSVhsv(48, 62%, 82%)
CMYKcmyk(0%, 12.4%, 61.7%, 18%)
CIE-LABlab(74.83, -2.73, 54.47)
CIE-LCHlch(74.83, 54.53, 92.87°)
OKLaboklab(78.21% -0.0113 0.125)
OKLCHoklch(78.21% 0.126 95.2)
XYZxyz(44.6779, 48.0037, 14.5002)
Luminance0.4800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B750 #506AD1
analogous
#D17750 #D1B750 #ABD150
triadic
#D1B750 #50D1B7 #B750D1
tetradic
#D1B750 #50D177 #506AD1 #D150AB
square
#D1B750 #50D177 #506AD1 #D150AB
split-complementary
#D1B750 #50ABD1 #7750D1
monochromatic
#847023 #B49A2F #D1B750 #DECB80 #EADFB1

Accessibility & contrast

On white

1.98
#D1B750 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#D1B750 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B750
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B750#FFFFFF#000000##000000
##D1B7501.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B345
Deuteranopia (green-blind)
#CFBC55
Tritanopia (blue-blind)
#E1AAA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d1b750;
/* rgb */ color: rgb(209, 183, 80);
/* oklch */ color: oklch(78.2% 0.126 95.2);
Tailwind
colors: {
  custom: {
    50: '#e2cc85',
    500: '#d1b750',
    950: '#000000',
  },
}
SCSS
$custom: #d1b750;
$custom-light: #e2cc85;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b750",
  "rgb": {
    "r": 209,
    "g": 183,
    "b": 80
  },
  "hsl": {
    "h": 47.907,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78211,
    "c": 0.12553,
    "h": 95.2
  },
  "luminance": 0.48001
}

Semantic roles & 50–950 ramp

primary
#D1B750
secondary
#A4AFD9
accent
#66E246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B750

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

Preview Lab → · Contrast checker → · Palette generator →

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