#C5C92E#C5C92E

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

Color values

HEX#C5C92E
RGBrgb(197, 201, 46)
HSLhsl(62, 63%, 48%)
HSVhsv(62, 77%, 79%)
CMYKcmyk(2%, 0%, 77.1%, 21.2%)
CIE-LABlab(78.37, -18.79, 70.59)
CIE-LCHlch(78.37, 73.05, 104.90°)
OKLaboklab(80.71% -0.0595 0.1539)
OKLCHoklch(80.71% 0.165 111.1)
XYZxyz(44.4073, 53.8421, 10.6376)
Luminance0.5384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C92E #322EC9
analogous
#C97F2E #C5C92E #78C92E
triadic
#C5C92E #2EC5C9 #C92EC5
tetradic
#C5C92E #2EC97F #322EC9 #C92E78
square
#C5C92E #2EC97F #322EC9 #C92E78
split-complementary
#C5C92E #2E78C9 #7F2EC9
monochromatic
#636517 #949723 #C5C92E #D6D95B #E3E58D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C92E#FFFFFF#000000##000000
##C5C92E1.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)
#DAC43C
Tritanopia (blue-blind)
#D3BCAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c5c92e;
/* rgb */ color: rgb(197, 201, 46);
/* oklch */ color: oklch(80.7% 0.165 111.1);
Tailwind
colors: {
  custom: {
    50: '#dbd974',
    500: '#c5c92e',
    950: '#000000',
  },
}
SCSS
$custom: #c5c92e;
$custom-light: #dbd974;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c92e",
  "rgb": {
    "r": 197,
    "g": 201,
    "b": 46
  },
  "hsl": {
    "h": 61.548,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80709,
    "c": 0.16501,
    "h": 111.1
  },
  "luminance": 0.53841
}

Semantic roles & 50–950 ramp

primary
#C5C92E
secondary
#2D2C70
accent
#42E646
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C92E

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

Preview Lab → · Contrast checker → · Palette generator →

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