#C5C333#C5C333

#C5C333 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.4% C 0.157 H 108.7°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#C5C333
RGBrgb(197, 195, 51)
HSLhsl(59, 59%, 49%)
HSVhsv(59, 74%, 77%)
CMYKcmyk(0%, 1%, 74.1%, 22.7%)
CIE-LABlab(76.76, -15.59, 67.56)
CIE-LCHlch(76.76, 69.33, 103.00°)
OKLaboklab(79.43% -0.0501 0.1484)
OKLCHoklch(79.43% 0.157 108.7)
XYZxyz(43.1402, 51.1409, 10.7300)
Luminance0.5114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C333 #3335C5
analogous
#C57A33 #C5C333 #7EC533
triadic
#C5C333 #33C5C3 #C333C5
tetradic
#C5C333 #33C57A #3335C5 #C5337E
square
#C5C333 #33C57A #3335C5 #C5337E
split-complementary
#C5C333 #337EC5 #7A33C5
monochromatic
#64631A #949326 #C5C333 #D6D45F #E2E190

Accessibility & contrast

On white

1.87
#C5C333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#C5C333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C333
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C333#FFFFFF#000000##000000
##C5C3331.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB13
Deuteranopia (green-blind)
#D5C03E
Tritanopia (blue-blind)
#D3B6A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c5c333;
/* rgb */ color: rgb(197, 195, 51);
/* oklch */ color: oklch(79.4% 0.157 108.7);
Tailwind
colors: {
  custom: {
    50: '#dad476',
    500: '#c5c333',
    950: '#000000',
  },
}
SCSS
$custom: #c5c333;
$custom-light: #dad476;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c333",
  "rgb": {
    "r": 197,
    "g": 195,
    "b": 51
  },
  "hsl": {
    "h": 59.178,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.79434,
    "c": 0.1566,
    "h": 108.7
  },
  "luminance": 0.5114
}

Semantic roles & 50–950 ramp

primary
#C5C333
secondary
#2E2F6E
accent
#48E246
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C333

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

Preview Lab → · Contrast checker → · Palette generator →

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