#C5C843#C5C843

#C5C843 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.6% C 0.152 H 110.6°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#C5C843
RGBrgb(197, 200, 67)
HSLhsl(61, 55%, 52%)
HSVhsv(61, 67%, 78%)
CMYKcmyk(1.5%, 0%, 66.5%, 21.6%)
CIE-LABlab(78.22, -17.30, 63.22)
CIE-LCHlch(78.22, 65.54, 105.31°)
OKLaboklab(80.63% -0.0534 0.1419)
OKLCHoklch(80.63% 0.152 110.6)
XYZxyz(44.6948, 53.5853, 13.2977)
Luminance0.5358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C843 #4643C8
analogous
#C88843 #C5C843 #83C843
triadic
#C5C843 #43C5C8 #C843C5
tetradic
#C5C843 #43C888 #4643C8 #C84383
square
#C5C843 #43C888 #4643C8 #C84383
split-complementary
#C5C843 #4383C8 #8843C8
monochromatic
#6E7021 #9D9F2F #C5C843 #D4D672 #E2E4A2

Accessibility & contrast

On white

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

On black

11.72
#C5C843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C843
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C843#FFFFFF#000000##000000
##C5C8431.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF30
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#D2BCAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c5c843;
/* rgb */ color: rgb(197, 200, 67);
/* oklch */ color: oklch(80.6% 0.152 110.6);
Tailwind
colors: {
  custom: {
    50: '#dad87e',
    500: '#c5c843',
    950: '#000000',
  },
}
SCSS
$custom: #c5c843;
$custom-light: #dad87e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c843",
  "rgb": {
    "r": 197,
    "g": 200,
    "b": 67
  },
  "hsl": {
    "h": 61.353,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80628,
    "c": 0.15166,
    "h": 110.6
  },
  "luminance": 0.53584
}

Semantic roles & 50–950 ramp

primary
#C5C843
secondary
#383679
accent
#4ADE4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C843

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

Preview Lab → · Contrast checker → · Palette generator →

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