#C5C733#C5C733

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

Color values

HEX#C5C733
RGBrgb(197, 199, 51)
HSLhsl(61, 59%, 49%)
HSVhsv(61, 74%, 78%)
CMYKcmyk(1%, 0%, 74.4%, 22%)
CIE-LABlab(77.85, -17.59, 68.57)
CIE-LCHlch(77.85, 70.79, 104.39°)
OKLaboklab(80.3% -0.0557 0.1505)
OKLCHoklch(80.3% 0.16 110.3)
XYZxyz(44.0485, 52.9574, 11.0328)
Luminance0.5296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C733 #3533C7
analogous
#C77F33 #C5C733 #7BC733
triadic
#C5C733 #33C5C7 #C733C5
tetradic
#C5C733 #33C77F #3533C7 #C7337B
square
#C5C733 #33C77F #3533C7 #C7337B
split-complementary
#C5C733 #337BC7 #7F33C7
monochromatic
#65661A #959627 #C5C733 #D5D661 #E2E391

Accessibility & contrast

On white

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

On black

11.59
#C5C733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C733
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C733#FFFFFF#000000##000000
##C5C7331.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE10
Deuteranopia (green-blind)
#D8C23F
Tritanopia (blue-blind)
#D3BAAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c5c733;
/* rgb */ color: rgb(197, 199, 51);
/* oklch */ color: oklch(80.3% 0.160 110.3);
Tailwind
colors: {
  custom: {
    50: '#dad776',
    500: '#c5c733',
    950: '#000000',
  },
}
SCSS
$custom: #c5c733;
$custom-light: #dad776;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c733",
  "rgb": {
    "r": 197,
    "g": 199,
    "b": 51
  },
  "hsl": {
    "h": 60.811,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.80302,
    "c": 0.16049,
    "h": 110.3
  },
  "luminance": 0.52956
}

Semantic roles & 50–950 ramp

primary
#C5C733
secondary
#2F2E70
accent
#45E248
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C733

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

Preview Lab → · Contrast checker → · Palette generator →

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