#D2B250#D2B250

#D2B250 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.3% C 0.122 H 91.2°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#D2B250
RGBrgb(210, 178, 80)
HSLhsl(45, 59%, 57%)
HSVhsv(45, 62%, 82%)
CMYKcmyk(0%, 15.2%, 61.9%, 17.6%)
CIE-LABlab(73.63, 0.32, 53.16)
CIE-LCHlch(73.63, 53.16, 89.65°)
OKLaboklab(77.28% -0.0025 0.1222)
OKLCHoklch(77.28% 0.122 91.2)
XYZxyz(43.9488, 46.1240, 14.1758)
Luminance0.4612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B250 #5070D2
analogous
#D27150 #D2B250 #B1D250
triadic
#D2B250 #50D2B2 #B250D2
tetradic
#D2B250 #50D271 #5070D2 #D250B1
square
#D2B250 #50D271 #5070D2 #D250B1
split-complementary
#D2B250 #50B1D2 #7150D2
monochromatic
#856D22 #B6952F #D2B250 #DFC781 #EBDDB1

Accessibility & contrast

On white

2.05
#D2B250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#D2B250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B250
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B250#FFFFFF#000000##000000
##D2B2501.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B046
Deuteranopia (green-blind)
#CCB954
Tritanopia (blue-blind)
#E2A59D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2b250;
/* rgb */ color: rgb(210, 178, 80);
/* oklch */ color: oklch(77.3% 0.122 91.2);
Tailwind
colors: {
  custom: {
    50: '#e3c885',
    500: '#d2b250',
    950: '#000000',
  },
}
SCSS
$custom: #d2b250;
$custom-light: #e3c885;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b250",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 80
  },
  "hsl": {
    "h": 45.231,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.77284,
    "c": 0.12225,
    "h": 91.2
  },
  "luminance": 0.46122
}

Semantic roles & 50–950 ramp

primary
#D2B250
secondary
#A4B1D9
accent
#6CE246
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B250

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

Preview Lab → · Contrast checker → · Palette generator →

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