#C5C92C#C5C92C

#C5C92C is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.7% C 0.166 H 111.1°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#C5C92C
RGBrgb(197, 201, 44)
HSLhsl(62, 64%, 48%)
HSVhsv(62, 78%, 79%)
CMYKcmyk(2%, 0%, 78.1%, 21.2%)
CIE-LABlab(78.36, -18.86, 71.17)
CIE-LCHlch(78.36, 73.62, 104.84°)
OKLaboklab(80.7% -0.0598 0.1548)
OKLCHoklch(80.7% 0.166 111.1)
XYZxyz(44.3688, 53.8267, 10.4348)
Luminance0.5383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C92C #302CC9
analogous
#C97F2C #C5C92C #76C92C
triadic
#C5C92C #2CC5C9 #C92CC5
tetradic
#C5C92C #2CC97F #302CC9 #C92C76
square
#C5C92C #2CC97F #302CC9 #C92C76
split-complementary
#C5C92C #2C76C9 #7F2CC9
monochromatic
#636516 #949721 #C5C92C #D7DA58 #E3E58A

Accessibility & contrast

On white

1.78
#C5C92C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#C5C92C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C92C
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C92C#FFFFFF#000000##000000
##C5C92C1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C000
Deuteranopia (green-blind)
#DAC43A
Tritanopia (blue-blind)
#D3BCAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c5c92c;
/* rgb */ color: rgb(197, 201, 44);
/* oklch */ color: oklch(80.7% 0.166 111.1);
Tailwind
colors: {
  custom: {
    50: '#dbd973',
    500: '#c5c92c',
    950: '#000000',
  },
}
SCSS
$custom: #c5c92c;
$custom-light: #dbd973;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c92c",
  "rgb": {
    "r": 197,
    "g": 201,
    "b": 44
  },
  "hsl": {
    "h": 61.529,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.80699,
    "c": 0.16595,
    "h": 111.1
  },
  "luminance": 0.53825
}

Semantic roles & 50–950 ramp

primary
#C5C92C
secondary
#2C2A6F
accent
#41E745
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C92C

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

Preview Lab → · Contrast checker → · Palette generator →

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