#C5C232#C5C232

#C5C232 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.2% C 0.156 H 108.3°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#C5C232
RGBrgb(197, 194, 50)
HSLhsl(59, 60%, 48%)
HSVhsv(59, 75%, 77%)
CMYKcmyk(0%, 1.5%, 74.6%, 22.7%)
CIE-LABlab(76.49, -15.13, 67.63)
CIE-LCHlch(76.49, 69.30, 102.61°)
OKLaboklab(79.21% -0.0489 0.1483)
OKLCHoklch(79.21% 0.156 108.3)
XYZxyz(42.8951, 50.6856, 10.5407)
Luminance0.5068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C232 #3235C5
analogous
#C57932 #C5C232 #7EC532
triadic
#C5C232 #32C5C2 #C232C5
tetradic
#C5C232 #32C579 #3235C5 #C5327E
square
#C5C232 #32C579 #3235C5 #C5327E
split-complementary
#C5C232 #327EC5 #7932C5
monochromatic
#636219 #949226 #C5C232 #D6D45E #E3E18F

Accessibility & contrast

On white

1.89
#C5C232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#C5C232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C232
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C232#FFFFFF#000000##000000
##C5C2321.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA11
Deuteranopia (green-blind)
#D5BF3E
Tritanopia (blue-blind)
#D3B5A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c5c232;
/* rgb */ color: rgb(197, 194, 50);
/* oklch */ color: oklch(79.2% 0.156 108.3);
Tailwind
colors: {
  custom: {
    50: '#dad475',
    500: '#c5c232',
    950: '#000000',
  },
}
SCSS
$custom: #c5c232;
$custom-light: #dad475;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c232",
  "rgb": {
    "r": 197,
    "g": 194,
    "b": 50
  },
  "hsl": {
    "h": 58.776,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79212,
    "c": 0.1562,
    "h": 108.3
  },
  "luminance": 0.50684
}

Semantic roles & 50–950 ramp

primary
#C5C232
secondary
#2D2F6E
accent
#48E345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C232

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

Preview Lab → · Contrast checker → · Palette generator →

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