#D0C846#D0C846

#D0C846 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.148 H 105.8°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#D0C846
RGBrgb(208, 200, 70)
HSLhsl(57, 59%, 55%)
HSVhsv(57, 66%, 82%)
CMYKcmyk(0%, 3.8%, 66.3%, 18.4%)
CIE-LABlab(79.13, -12.52, 63.26)
CIE-LCHlch(79.13, 64.49, 101.19°)
OKLaboklab(81.58% -0.0402 0.1422)
OKLCHoklch(81.58% 0.148 105.8)
XYZxyz(47.7740, 55.1623, 13.9240)
Luminance0.5516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C846 #464ED0
analogous
#D08346 #D0C846 #93D046
triadic
#D0C846 #46D0C8 #C846D0
tetradic
#D0C846 #46D083 #464ED0 #D04693
square
#D0C846 #46D083 #464ED0 #D04693
split-complementary
#D0C846 #4693D0 #8346D0
monochromatic
#7C7720 #ADA52C #D0C846 #DCD777 #E9E5A8

Accessibility & contrast

On white

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

On black

12.03
#D0C846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C846
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C846#FFFFFF#000000##000000
##D0C8461.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C134
Deuteranopia (green-blind)
#DCC74E
Tritanopia (blue-blind)
#DFBBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c846;
/* rgb */ color: rgb(208, 200, 70);
/* oklch */ color: oklch(81.6% 0.148 105.8);
Tailwind
colors: {
  custom: {
    50: '#e2d880',
    500: '#d0c846',
    950: '#000000',
  },
}
SCSS
$custom: #d0c846;
$custom-light: #e2d880;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c846",
  "rgb": {
    "r": 208,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 56.522,
    "s": 59.483,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81582,
    "c": 0.14778,
    "h": 105.8
  },
  "luminance": 0.55161
}

Semantic roles & 50–950 ramp

primary
#D0C846
secondary
#363B84
accent
#4EE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C846

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

Preview Lab → · Contrast checker → · Palette generator →

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