#C5C04D#C5C04D

#C5C04D is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.0% C 0.136 H 106.8°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#C5C04D
RGBrgb(197, 192, 77)
HSLhsl(58, 51%, 54%)
HSVhsv(58, 61%, 77%)
CMYKcmyk(0%, 2.5%, 60.9%, 22.7%)
CIE-LABlab(76.13, -12.65, 56.92)
CIE-LCHlch(76.13, 58.31, 102.53°)
OKLaboklab(78.99% -0.0392 0.1301)
OKLCHoklch(78.99% 0.136 106.8)
XYZxyz(43.2166, 50.1068, 14.4148)
Luminance0.5010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C04D #4D52C5
analogous
#C5844D #C5C04D #8EC54D
triadic
#C5C04D #4DC5C0 #C04DC5
tetradic
#C5C04D #4DC584 #4D52C5 #C54D8E
square
#C5C04D #4DC584 #4D52C5 #C54D8E
split-complementary
#C5C04D #4D8EC5 #844DC5
monochromatic
#726F25 #A09C34 #C5C04D #D4D07B #E3E1A9

Accessibility & contrast

On white

1.91
#C5C04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#C5C04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C04D
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C04D#FFFFFF#000000##000000
##C5C04D1.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB940
Deuteranopia (green-blind)
#D2BE54
Tritanopia (blue-blind)
#D2B4A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c04d;
/* rgb */ color: rgb(197, 192, 77);
/* oklch */ color: oklch(79.0% 0.136 106.8);
Tailwind
colors: {
  custom: {
    50: '#d9d284',
    500: '#c5c04d',
    950: '#000000',
  },
}
SCSS
$custom: #c5c04d;
$custom-light: #d9d284;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c04d",
  "rgb": {
    "r": 197,
    "g": 192,
    "b": 77
  },
  "hsl": {
    "h": 57.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7899,
    "c": 0.13591,
    "h": 106.8
  },
  "luminance": 0.50105
}

Semantic roles & 50–950 ramp

primary
#C5C04D
secondary
#3B3D7C
accent
#53DA4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5C04D

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

Preview Lab → · Contrast checker → · Palette generator →

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