#C5C92F#C5C92F

#C5C92F 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#C5C92F
RGBrgb(197, 201, 47)
HSLhsl(62, 62%, 49%)
HSVhsv(62, 77%, 79%)
CMYKcmyk(2%, 0%, 76.6%, 21.2%)
CIE-LABlab(78.37, -18.75, 70.30)
CIE-LCHlch(78.37, 72.76, 104.93°)
OKLaboklab(80.72% -0.0593 0.1535)
OKLCHoklch(80.72% 0.165 111.1)
XYZxyz(44.4273, 53.8500, 10.7426)
Luminance0.5385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C92F #332FC9
analogous
#C9802F #C5C92F #78C92F
triadic
#C5C92F #2FC5C9 #C92FC5
tetradic
#C5C92F #2FC980 #332FC9 #C92F78
square
#C5C92F #2FC980 #332FC9 #C92F78
split-complementary
#C5C92F #2F78C9 #802FC9
monochromatic
#646618 #949723 #C5C92F #D6D95C #E2E58E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #c5c92f;
/* rgb */ color: rgb(197, 201, 47);
/* oklch */ color: oklch(80.7% 0.165 111.1);
Tailwind
colors: {
  custom: {
    50: '#dbd975',
    500: '#c5c92f',
    950: '#000000',
  },
}
SCSS
$custom: #c5c92f;
$custom-light: #dbd975;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c92f",
  "rgb": {
    "r": 197,
    "g": 201,
    "b": 47
  },
  "hsl": {
    "h": 61.558,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.80715,
    "c": 0.16452,
    "h": 111.1
  },
  "luminance": 0.53849
}

Semantic roles & 50–950 ramp

primary
#C5C92F
secondary
#2E2C70
accent
#43E547
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C92F

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

Preview Lab → · Contrast checker → · Palette generator →

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