#D0C835#D0C835

#D0C835 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.5% C 0.158 H 106.2°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#D0C835
RGBrgb(208, 200, 53)
HSLhsl(57, 62%, 51%)
HSVhsv(57, 75%, 82%)
CMYKcmyk(0%, 3.8%, 74.5%, 18.4%)
CIE-LABlab(79.03, -13.35, 69.34)
CIE-LCHlch(79.03, 70.61, 100.89°)
OKLaboklab(81.46% -0.0442 0.1521)
OKLCHoklch(81.46% 0.158 106.2)
XYZxyz(47.3113, 54.9772, 11.4870)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C835 #353DD0
analogous
#D07A35 #D0C835 #8AD035
triadic
#D0C835 #35D0C8 #C835D0
tetradic
#D0C835 #35D07A #353DD0 #D0358A
square
#D0C835 #35D07A #353DD0 #D0358A
split-complementary
#D0C835 #358AD0 #7A35D0
monochromatic
#706C1A #A29C26 #D0C835 #DCD667 #E7E398

Accessibility & contrast

On white

1.75
#D0C835 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#D0C835 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C835
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C835#FFFFFF#000000##000000
##D0C8351.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C014
Deuteranopia (green-blind)
#DDC640
Tritanopia (blue-blind)
#DFBAAC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c835;
/* rgb */ color: rgb(208, 200, 53);
/* oklch */ color: oklch(81.5% 0.158 106.2);
Tailwind
colors: {
  custom: {
    50: '#e2d877',
    500: '#d0c835',
    950: '#000000',
  },
}
SCSS
$custom: #d0c835;
$custom-light: #e2d877;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c835",
  "rgb": {
    "r": 208,
    "g": 200,
    "b": 53
  },
  "hsl": {
    "h": 56.903,
    "s": 62.249,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81463,
    "c": 0.1584,
    "h": 106.2
  },
  "luminance": 0.54975
}

Semantic roles & 50–950 ramp

primary
#D0C835
secondary
#303479
accent
#4BE542
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C835

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

Preview Lab → · Contrast checker → · Palette generator →

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