#C5C834#C5C834

#C5C834 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.5% C 0.161 H 110.7°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#C5C834
RGBrgb(197, 200, 52)
HSLhsl(61, 59%, 49%)
HSVhsv(61, 74%, 78%)
CMYKcmyk(1.5%, 0%, 74%, 21.6%)
CIE-LABlab(78.13, -18.05, 68.50)
CIE-LCHlch(78.13, 70.84, 104.76°)
OKLaboklab(80.53% -0.0569 0.1505)
OKLCHoklch(80.53% 0.161 110.7)
XYZxyz(44.3016, 53.4280, 11.2271)
Luminance0.5343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C834 #3734C8
analogous
#C88134 #C5C834 #7BC834
triadic
#C5C834 #34C5C8 #C834C5
tetradic
#C5C834 #34C881 #3734C8 #C8347B
square
#C5C834 #34C881 #3734C8 #C8347B
split-complementary
#C5C834 #347BC8 #8134C8
monochromatic
#65671B #959727 #C5C834 #D4D663 #E1E393

Accessibility & contrast

On white

1.80
#C5C834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#C5C834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C834
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C834#FFFFFF#000000##000000
##C5C8341.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5c834;
/* rgb */ color: rgb(197, 200, 52);
/* oklch */ color: oklch(80.5% 0.161 110.7);
Tailwind
colors: {
  custom: {
    50: '#dad877',
    500: '#c5c834',
    950: '#000000',
  },
}
SCSS
$custom: #c5c834;
$custom-light: #dad877;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c834",
  "rgb": {
    "r": 197,
    "g": 200,
    "b": 52
  },
  "hsl": {
    "h": 61.216,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.80525,
    "c": 0.16094,
    "h": 110.7
  },
  "luminance": 0.53427
}

Semantic roles & 50–950 ramp

primary
#C5C834
secondary
#312F71
accent
#46E249
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C834

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

Preview Lab → · Contrast checker → · Palette generator →

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