#C5C73B#C5C73B

#C5C73B is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.4% C 0.156 H 110.3°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#C5C73B
RGBrgb(197, 199, 59)
HSLhsl(61, 56%, 51%)
HSVhsv(61, 70%, 78%)
CMYKcmyk(1%, 0%, 70.4%, 22%)
CIE-LABlab(77.90, -17.23, 65.88)
CIE-LCHlch(77.90, 68.10, 104.65°)
OKLaboklab(80.35% -0.054 0.1462)
OKLCHoklch(80.35% 0.156 110.3)
XYZxyz(44.2403, 53.0342, 12.0430)
Luminance0.5303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C73B #3D3BC7
analogous
#C7833B #C5C73B #7FC73B
triadic
#C5C73B #3BC5C7 #C73BC5
tetradic
#C5C73B #3BC783 #3D3BC7 #C73B7F
square
#C5C73B #3BC783 #3D3BC7 #C73B7F
split-complementary
#C5C73B #3B7FC7 #833BC7
monochromatic
#68691E #98992C #C5C73B #D3D56B #E1E29A

Accessibility & contrast

On white

1.81
#C5C73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#C5C73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C73B
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C73B#FFFFFF#000000##000000
##C5C73B1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE22
Deuteranopia (green-blind)
#D8C245
Tritanopia (blue-blind)
#D3BBAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c5c73b;
/* rgb */ color: rgb(197, 199, 59);
/* oklch */ color: oklch(80.4% 0.156 110.3);
Tailwind
colors: {
  custom: {
    50: '#dad77a',
    500: '#c5c73b',
    950: '#000000',
  },
}
SCSS
$custom: #c5c73b;
$custom-light: #dad77a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c73b",
  "rgb": {
    "r": 197,
    "g": 199,
    "b": 59
  },
  "hsl": {
    "h": 60.857,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.80352,
    "c": 0.15588,
    "h": 110.3
  },
  "luminance": 0.53033
}

Semantic roles & 50–950 ramp

primary
#C5C73B
secondary
#343373
accent
#49DF4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C73B

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

Preview Lab → · Contrast checker → · Palette generator →

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