#C5C839#C5C839

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

Color values

HEX#C5C839
RGBrgb(197, 200, 57)
HSLhsl(61, 57%, 50%)
HSVhsv(61, 72%, 78%)
CMYKcmyk(1.5%, 0%, 71.5%, 21.6%)
CIE-LABlab(78.15, -17.82, 66.84)
CIE-LCHlch(78.15, 69.18, 104.93°)
OKLaboklab(80.56% -0.0558 0.1479)
OKLCHoklch(80.56% 0.158 110.7)
XYZxyz(44.4203, 53.4755, 11.8520)
Luminance0.5347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C839 #3C39C8
analogous
#C88439 #C5C839 #7DC839
triadic
#C5C839 #39C5C8 #C839C5
tetradic
#C5C839 #39C884 #3C39C8 #C8397D
square
#C5C839 #39C884 #3C39C8 #C8397D
split-complementary
#C5C839 #397DC8 #8439C8
monochromatic
#68691D #97992B #C5C839 #D3D569 #E1E399

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C839#FFFFFF#000000##000000
##C5C8391.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)
#D8BF1E
Deuteranopia (green-blind)
#D9C344
Tritanopia (blue-blind)
#D3BBAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c5c839;
/* rgb */ color: rgb(197, 200, 57);
/* oklch */ color: oklch(80.6% 0.158 110.7);
Tailwind
colors: {
  custom: {
    50: '#dad879',
    500: '#c5c839',
    950: '#000000',
  },
}
SCSS
$custom: #c5c839;
$custom-light: #dad879;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c839",
  "rgb": {
    "r": 197,
    "g": 200,
    "b": 57
  },
  "hsl": {
    "h": 61.259,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80556,
    "c": 0.1581,
    "h": 110.7
  },
  "luminance": 0.53474
}

Semantic roles & 50–950 ramp

primary
#C5C839
secondary
#333273
accent
#48E04B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C839

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

Preview Lab → · Contrast checker → · Palette generator →

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