#D0C357#D0C357

#D0C357 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.7% C 0.130 H 102.5°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#D0C357
RGBrgb(208, 195, 87)
HSLhsl(54, 56%, 58%)
HSVhsv(54, 58%, 82%)
CMYKcmyk(0%, 6.3%, 58.2%, 18.4%)
CIE-LABlab(77.95, -8.88, 54.76)
CIE-LCHlch(77.95, 55.47, 99.21°)
OKLaboklab(80.69% -0.028 0.1266)
OKLCHoklch(80.69% 0.13 102.5)
XYZxyz(47.2495, 53.1300, 16.7812)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C357 #5764D0
analogous
#D08757 #D0C357 #A0D057
triadic
#D0C357 #57D0C3 #C357D0
tetradic
#D0C357 #57D087 #5764D0 #D057A0
square
#D0C357 #57D087 #5764D0 #D057A0
split-complementary
#D0C357 #57A0D0 #8757D0
monochromatic
#877C26 #B7A933 #D0C357 #DDD487 #EBE5B7

Accessibility & contrast

On white

1.81
#D0C357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#D0C357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C357
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C357#FFFFFF#000000##000000
##D0C3571.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4C
Deuteranopia (green-blind)
#D7C35D
Tritanopia (blue-blind)
#DEB7AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d0c357;
/* rgb */ color: rgb(208, 195, 87);
/* oklch */ color: oklch(80.7% 0.130 102.5);
Tailwind
colors: {
  custom: {
    50: '#e1d48a',
    500: '#d0c357',
    950: '#000000',
  },
}
SCSS
$custom: #d0c357;
$custom-light: #e1d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c357",
  "rgb": {
    "r": 208,
    "g": 195,
    "b": 87
  },
  "hsl": {
    "h": 53.554,
    "s": 56.279,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80687,
    "c": 0.12964,
    "h": 102.5
  },
  "luminance": 0.53128
}

Semantic roles & 50–950 ramp

primary
#D0C357
secondary
#3E468E
accent
#58E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C357

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

Preview Lab → · Contrast checker → · Palette generator →

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