#C5C82F#C5C82F

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

Color values

HEX#C5C82F
RGBrgb(197, 200, 47)
HSLhsl(61, 62%, 48%)
HSVhsv(61, 77%, 78%)
CMYKcmyk(1.5%, 0%, 76.5%, 21.6%)
CIE-LABlab(78.10, -18.25, 70.05)
CIE-LCHlch(78.10, 72.39, 104.60°)
OKLaboklab(80.5% -0.0579 0.1529)
OKLCHoklch(80.5% 0.164 110.7)
XYZxyz(44.1949, 53.3853, 10.6651)
Luminance0.5338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C82F #322FC8
analogous
#C87E2F #C5C82F #79C82F
triadic
#C5C82F #2FC5C8 #C82FC5
tetradic
#C5C82F #2FC87E #322FC8 #C82F79
square
#C5C82F #2FC87E #322FC8 #C82F79
split-complementary
#C5C82F #2F79C8 #7E2FC8
monochromatic
#636518 #949623 #C5C82F #D6D95C #E3E48D

Accessibility & contrast

On white

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

On black

11.68
#C5C82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C82F
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C82F#FFFFFF#000000##000000
##C5C82F1.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5c82f;
/* rgb */ color: rgb(197, 200, 47);
/* oklch */ color: oklch(80.5% 0.164 110.7);
Tailwind
colors: {
  custom: {
    50: '#dbd874',
    500: '#c5c82f',
    950: '#000000',
  },
}
SCSS
$custom: #c5c82f;
$custom-light: #dbd874;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c82f",
  "rgb": {
    "r": 197,
    "g": 200,
    "b": 47
  },
  "hsl": {
    "h": 61.176,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80497,
    "c": 0.16353,
    "h": 110.7
  },
  "luminance": 0.53384
}

Semantic roles & 50–950 ramp

primary
#C5C82F
secondary
#2D2C6F
accent
#43E546
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C82F

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

Preview Lab → · Contrast checker → · Palette generator →

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