#C5C83B#C5C83B

#C5C83B is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.6% C 0.157 H 110.7°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#C5C83B
RGBrgb(197, 200, 59)
HSLhsl(61, 56%, 51%)
HSVhsv(61, 71%, 78%)
CMYKcmyk(1.5%, 0%, 70.5%, 21.6%)
CIE-LABlab(78.17, -17.73, 66.15)
CIE-LCHlch(78.17, 68.48, 105.00°)
OKLaboklab(80.57% -0.0554 0.1468)
OKLCHoklch(80.57% 0.157 110.7)
XYZxyz(44.4711, 53.4958, 12.1199)
Luminance0.5350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C83B #3E3BC8
analogous
#C8853B #C5C83B #7EC83B
triadic
#C5C83B #3BC5C8 #C83BC5
tetradic
#C5C83B #3BC885 #3E3BC8 #C83B7E
square
#C5C83B #3BC885 #3E3BC8 #C83B7E
split-complementary
#C5C83B #3B7EC8 #853BC8
monochromatic
#696B1E #989A2B #C5C83B #D3D56B #E1E39B

Accessibility & contrast

On white

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

On black

11.70
#C5C83B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C83B
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C83B#FFFFFF#000000##000000
##C5C83B1.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF22
Deuteranopia (green-blind)
#D9C346
Tritanopia (blue-blind)
#D3BCAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c5c83b;
/* rgb */ color: rgb(197, 200, 59);
/* oklch */ color: oklch(80.6% 0.157 110.7);
Tailwind
colors: {
  custom: {
    50: '#dad87a',
    500: '#c5c83b',
    950: '#000000',
  },
}
SCSS
$custom: #c5c83b;
$custom-light: #dad87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c83b",
  "rgb": {
    "r": 197,
    "g": 200,
    "b": 59
  },
  "hsl": {
    "h": 61.277,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.80569,
    "c": 0.15689,
    "h": 110.7
  },
  "luminance": 0.53495
}

Semantic roles & 50–950 ramp

primary
#C5C83B
secondary
#343374
accent
#48DF4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C83B

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

Preview Lab → · Contrast checker → · Palette generator →

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