#C5C43B#C5C43B

#C5C43B is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.7% C 0.153 H 109.0°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#C5C43B
RGBrgb(197, 196, 59)
HSLhsl(60, 54%, 50%)
HSVhsv(60, 70%, 77%)
CMYKcmyk(0%, 0.5%, 70.1%, 22.7%)
CIE-LABlab(77.08, -15.73, 65.09)
CIE-LCHlch(77.08, 66.96, 103.58°)
OKLaboklab(79.7% -0.0498 0.1446)
OKLCHoklch(79.7% 0.153 109)
XYZxyz(43.5569, 51.6673, 11.8152)
Luminance0.5167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C43B #3B3CC5
analogous
#C57F3B #C5C43B #81C53B
triadic
#C5C43B #3BC5C4 #C43BC5
tetradic
#C5C43B #3BC57F #3B3CC5 #C53B81
square
#C5C43B #3BC57F #3B3CC5 #C53B81
split-complementary
#C5C43B #3B81C5 #7F3BC5
monochromatic
#67671F #96962C #C5C43B #D3D26A #E1E099

Accessibility & contrast

On white

1.85
#C5C43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#C5C43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C43B
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C43B#FFFFFF#000000##000000
##C5C43B1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC24
Deuteranopia (green-blind)
#D6C045
Tritanopia (blue-blind)
#D3B8A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c5c43b;
/* rgb */ color: rgb(197, 196, 59);
/* oklch */ color: oklch(79.7% 0.153 109.0);
Tailwind
colors: {
  custom: {
    50: '#dad57a',
    500: '#c5c43b',
    950: '#000000',
  },
}
SCSS
$custom: #c5c43b;
$custom-light: #dad57a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c43b",
  "rgb": {
    "r": 197,
    "g": 196,
    "b": 59
  },
  "hsl": {
    "h": 59.565,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79702,
    "c": 0.15288,
    "h": 109
  },
  "luminance": 0.51666
}

Semantic roles & 50–950 ramp

primary
#C5C43B
secondary
#333371
accent
#4BDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C43B

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

Preview Lab → · Contrast checker → · Palette generator →

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