#D5C250#D5C250

#D5C250 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.9% C 0.135 H 99.9°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#D5C250
RGBrgb(213, 194, 80)
HSLhsl(51, 61%, 57%)
HSVhsv(51, 62%, 84%)
CMYKcmyk(0%, 8.9%, 62.4%, 16.5%)
CIE-LABlab(78.06, -6.75, 58.10)
CIE-LCHlch(78.06, 58.49, 96.62°)
OKLaboklab(80.86% -0.023 0.1327)
OKLCHoklch(80.86% 0.135 99.9)
XYZxyz(48.1823, 53.3110, 15.3399)
Luminance0.5331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C250 #5063D5
analogous
#D58050 #D5C250 #A5D550
triadic
#D5C250 #50D5C2 #C250D5
tetradic
#D5C250 #50D580 #5063D5 #D550A5
square
#D5C250 #50D580 #5063D5 #D550A5
split-complementary
#D5C250 #50A5D5 #8050D5
monochromatic
#8A7B21 #BBA72D #D5C250 #E1D381 #EDE4B3

Accessibility & contrast

On white

1.80
#D5C250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#D5C250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C250
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C250#FFFFFF#000000##000000
##D5C2501.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD43
Deuteranopia (green-blind)
#D9C456
Tritanopia (blue-blind)
#E4B5AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c250;
/* rgb */ color: rgb(213, 194, 80);
/* oklch */ color: oklch(80.9% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#e5d486',
    500: '#d5c250',
    950: '#000000',
  },
}
SCSS
$custom: #d5c250;
$custom-light: #e5d486;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c250",
  "rgb": {
    "r": 213,
    "g": 194,
    "b": 80
  },
  "hsl": {
    "h": 51.429,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80855,
    "c": 0.13464,
    "h": 99.9
  },
  "luminance": 0.53309
}

Semantic roles & 50–950 ramp

primary
#D5C250
secondary
#394690
accent
#5AE443
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C250

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

Preview Lab → · Contrast checker → · Palette generator →

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