#D5C143#D5C143

#D5C143 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.143 H 100.1°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#D5C143
RGBrgb(213, 193, 67)
HSLhsl(52, 63%, 55%)
HSVhsv(52, 69%, 84%)
CMYKcmyk(0%, 9.4%, 68.5%, 16.5%)
CIE-LABlab(77.69, -7.00, 63.12)
CIE-LCHlch(77.69, 63.50, 96.32°)
OKLaboklab(80.53% -0.0252 0.1412)
OKLCHoklch(80.53% 0.143 100.1)
XYZxyz(47.5258, 52.6935, 12.9766)
Luminance0.5269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C143 #4357D5
analogous
#D57843 #D5C143 #A0D543
triadic
#D5C143 #43D5C1 #C143D5
tetradic
#D5C143 #43D578 #4357D5 #D543A0
square
#D5C143 #43D578 #4357D5 #D543A0
split-complementary
#D5C143 #43A0D5 #7843D5
monochromatic
#81731D #B3A028 #D5C143 #E0D175 #EBE2A7

Accessibility & contrast

On white

1.82
#D5C143 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#D5C143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C143
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C143#FFFFFF#000000##000000
##D5C1431.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC31
Deuteranopia (green-blind)
#D9C34B
Tritanopia (blue-blind)
#E5B3A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d5c143;
/* rgb */ color: rgb(213, 193, 67);
/* oklch */ color: oklch(80.5% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#e6d37e',
    500: '#d5c143',
    950: '#000000',
  },
}
SCSS
$custom: #d5c143;
$custom-light: #e6d37e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c143",
  "rgb": {
    "r": 213,
    "g": 193,
    "b": 67
  },
  "hsl": {
    "h": 51.781,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80533,
    "c": 0.14347,
    "h": 100.1
  },
  "luminance": 0.52691
}

Semantic roles & 50–950 ramp

primary
#D5C143
secondary
#344088
accent
#58E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C143

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

Preview Lab → · Contrast checker → · Palette generator →

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