#D5C243#D5C243

#D5C243 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.7% C 0.144 H 100.7°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#D5C243
RGBrgb(213, 194, 67)
HSLhsl(52, 63%, 55%)
HSVhsv(52, 69%, 84%)
CMYKcmyk(0%, 8.9%, 68.5%, 16.5%)
CIE-LABlab(77.96, -7.51, 63.38)
CIE-LCHlch(77.96, 63.83, 96.76°)
OKLaboklab(80.74% -0.0267 0.1418)
OKLCHoklch(80.74% 0.144 100.7)
XYZxyz(47.7476, 53.1371, 13.0505)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C243 #4356D5
analogous
#D57943 #D5C243 #9FD543
triadic
#D5C243 #43D5C2 #C243D5
tetradic
#D5C243 #43D579 #4356D5 #D5439F
square
#D5C243 #43D579 #4356D5 #D5439F
split-complementary
#D5C243 #439FD5 #7943D5
monochromatic
#81741D #B3A128 #D5C243 #E0D275 #EBE2A7

Accessibility & contrast

On white

1.81
#D5C243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#D5C243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C243
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C243#FFFFFF#000000##000000
##D5C2431.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD31
Deuteranopia (green-blind)
#D9C44B
Tritanopia (blue-blind)
#E5B4A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c243;
/* rgb */ color: rgb(213, 194, 67);
/* oklch */ color: oklch(80.7% 0.144 100.7);
Tailwind
colors: {
  custom: {
    50: '#e6d47e',
    500: '#d5c243',
    950: '#000000',
  },
}
SCSS
$custom: #d5c243;
$custom-light: #e6d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c243",
  "rgb": {
    "r": 213,
    "g": 194,
    "b": 67
  },
  "hsl": {
    "h": 52.192,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80741,
    "c": 0.14429,
    "h": 100.7
  },
  "luminance": 0.53135
}

Semantic roles & 50–950 ramp

primary
#D5C243
secondary
#343F88
accent
#57E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C243

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

Preview Lab → · Contrast checker → · Palette generator →

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