#C5C04B#C5C04B

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

Color values

HEX#C5C04B
RGBrgb(197, 192, 75)
HSLhsl(58, 51%, 53%)
HSVhsv(58, 62%, 77%)
CMYKcmyk(0%, 2.5%, 61.9%, 22.7%)
CIE-LABlab(76.12, -12.79, 57.76)
CIE-LCHlch(76.12, 59.16, 102.48°)
OKLaboklab(78.97% -0.0398 0.1316)
OKLCHoklch(78.97% 0.138 106.8)
XYZxyz(43.1470, 50.0790, 14.0486)
Luminance0.5008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C04B #4B50C5
analogous
#C5834B #C5C04B #8DC54B
triadic
#C5C04B #4BC5C0 #C04BC5
tetradic
#C5C04B #4BC583 #4B50C5 #C54B8D
square
#C5C04B #4BC583 #4B50C5 #C54B8D
split-complementary
#C5C04B #4B8DC5 #834BC5
monochromatic
#716E24 #9F9B33 #C5C04B #D4D079 #E3E0A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C04B#FFFFFF#000000##000000
##C5C04B1.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)
#CFB93D
Deuteranopia (green-blind)
#D2BE52
Tritanopia (blue-blind)
#D3B4A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c04b;
/* rgb */ color: rgb(197, 192, 75);
/* oklch */ color: oklch(79.0% 0.138 106.8);
Tailwind
colors: {
  custom: {
    50: '#d9d282',
    500: '#c5c04b',
    950: '#000000',
  },
}
SCSS
$custom: #c5c04b;
$custom-light: #d9d282;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c04b",
  "rgb": {
    "r": 197,
    "g": 192,
    "b": 75
  },
  "hsl": {
    "h": 57.541,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78971,
    "c": 0.13752,
    "h": 106.8
  },
  "luminance": 0.50078
}

Semantic roles & 50–950 ramp

primary
#C5C04B
secondary
#3A3C7A
accent
#53DB4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5C04B

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

Preview Lab → · Contrast checker → · Palette generator →

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