#D9C243#D9C243

#D9C243 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.1% C 0.144 H 98.8°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#D9C243
RGBrgb(217, 194, 67)
HSLhsl(51, 66%, 56%)
HSVhsv(51, 69%, 85%)
CMYKcmyk(0%, 10.6%, 69.1%, 14.9%)
CIE-LABlab(78.31, -5.81, 63.86)
CIE-LCHlch(78.31, 64.12, 95.20°)
OKLaboklab(81.11% -0.0221 0.1427)
OKLCHoklch(81.11% 0.144 98.8)
XYZxyz(48.9225, 53.7429, 13.1056)
Luminance0.5374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C243 #435AD9
analogous
#D97743 #D9C243 #A5D943
triadic
#D9C243 #43D9C2 #C243D9
tetradic
#D9C243 #43D977 #435AD9 #D943A5
square
#D9C243 #43D977 #435AD9 #D943A5
split-complementary
#D9C243 #43A5D9 #7743D9
monochromatic
#86761B #B9A325 #D9C243 #E3D376 #EEE3A9

Accessibility & contrast

On white

1.79
#D9C243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#D9C243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C243
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C243#FFFFFF#000000##000000
##D9C2431.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD31
Deuteranopia (green-blind)
#DBC54A
Tritanopia (blue-blind)
#EAB4A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d9c243;
/* rgb */ color: rgb(217, 194, 67);
/* oklch */ color: oklch(81.1% 0.144 98.8);
Tailwind
colors: {
  custom: {
    50: '#e8d47e',
    500: '#d9c243',
    950: '#000000',
  },
}
SCSS
$custom: #d9c243;
$custom-light: #e8d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c243",
  "rgb": {
    "r": 217,
    "g": 194,
    "b": 67
  },
  "hsl": {
    "h": 50.8,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81107,
    "c": 0.14437,
    "h": 98.8
  },
  "luminance": 0.53741
}

Semantic roles & 50–950 ramp

primary
#D9C243
secondary
#33418D
accent
#59E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C243

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

Preview Lab → · Contrast checker → · Palette generator →

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