#C5C949#C5C949

#C5C949 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.9% C 0.148 H 111.0°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#C5C949
RGBrgb(197, 201, 73)
HSLhsl(62, 54%, 54%)
HSVhsv(62, 64%, 79%)
CMYKcmyk(2%, 0%, 63.7%, 21.2%)
CIE-LABlab(78.53, -17.44, 61.16)
CIE-LCHlch(78.53, 63.60, 105.92°)
OKLaboklab(80.89% -0.0532 0.1385)
OKLCHoklch(80.89% 0.148 111)
XYZxyz(45.1165, 54.1258, 14.3727)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C949 #4D49C9
analogous
#C98D49 #C5C949 #85C949
triadic
#C5C949 #49C5C9 #C949C5
tetradic
#C5C949 #49C98D #4D49C9 #C94985
square
#C5C949 #49C98D #4D49C9 #C94985
split-complementary
#C5C949 #4985C9 #8D49C9
monochromatic
#727523 #A0A431 #C5C949 #D4D778 #E3E5A7

Accessibility & contrast

On white

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

On black

11.83
#C5C949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C949
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C949#FFFFFF#000000##000000
##C5C9491.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C038
Deuteranopia (green-blind)
#D9C451
Tritanopia (blue-blind)
#D2BDAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c5c949;
/* rgb */ color: rgb(197, 201, 73);
/* oklch */ color: oklch(80.9% 0.148 111.0);
Tailwind
colors: {
  custom: {
    50: '#dad982',
    500: '#c5c949',
    950: '#000000',
  },
}
SCSS
$custom: #c5c949;
$custom-light: #dad982;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c949",
  "rgb": {
    "r": 197,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 61.875,
    "s": 54.237,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80894,
    "c": 0.14838,
    "h": 111
  },
  "luminance": 0.54125
}

Semantic roles & 50–950 ramp

primary
#C5C949
secondary
#3B397E
accent
#4ADE4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5C949

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

Preview Lab → · Contrast checker → · Palette generator →

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