#D0C843#D0C843

#D0C843 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.150 H 105.9°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#D0C843
RGBrgb(208, 200, 67)
HSLhsl(57, 60%, 54%)
HSVhsv(57, 68%, 82%)
CMYKcmyk(0%, 3.8%, 67.8%, 18.4%)
CIE-LABlab(79.11, -12.68, 64.41)
CIE-LCHlch(79.11, 65.65, 101.14°)
OKLaboklab(81.56% -0.041 0.1441)
OKLCHoklch(81.56% 0.15 105.9)
XYZxyz(47.6816, 55.1254, 13.4377)
Luminance0.5512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C843 #434BD0
analogous
#D08243 #D0C843 #92D043
triadic
#D0C843 #43D0C8 #C843D0
tetradic
#D0C843 #43D082 #434BD0 #D04392
square
#D0C843 #43D082 #434BD0 #D04392
split-complementary
#D0C843 #4392D0 #8243D0
monochromatic
#7A751F #ABA42B #D0C843 #DCD674 #E8E5A5

Accessibility & contrast

On white

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

On black

12.02
#D0C843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C843
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C843#FFFFFF#000000##000000
##D0C8431.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12F
Deuteranopia (green-blind)
#DCC64C
Tritanopia (blue-blind)
#DFBBAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c843;
/* rgb */ color: rgb(208, 200, 67);
/* oklch */ color: oklch(81.6% 0.150 105.9);
Tailwind
colors: {
  custom: {
    50: '#e2d87f',
    500: '#d0c843',
    950: '#000000',
  },
}
SCSS
$custom: #d0c843;
$custom-light: #e2d87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c843",
  "rgb": {
    "r": 208,
    "g": 200,
    "b": 67
  },
  "hsl": {
    "h": 56.596,
    "s": 60,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81559,
    "c": 0.14986,
    "h": 105.9
  },
  "luminance": 0.55124
}

Semantic roles & 50–950 ramp

primary
#D0C843
secondary
#353982
accent
#4EE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C843

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

Preview Lab → · Contrast checker → · Palette generator →

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