#C5C05B#C5C05B

#C5C05B is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.1% C 0.124 H 106.3°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#C5C05B
RGBrgb(197, 192, 91)
HSLhsl(57, 48%, 56%)
HSVhsv(57, 54%, 77%)
CMYKcmyk(0%, 2.5%, 53.8%, 22.7%)
CIE-LABlab(76.27, -11.61, 50.75)
CIE-LCHlch(76.27, 52.06, 102.89°)
OKLaboklab(79.14% -0.0347 0.1187)
OKLCHoklch(79.14% 0.124 106.3)
XYZxyz(43.7652, 50.3262, 17.3040)
Luminance0.5032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C05B #5B60C5
analogous
#C58B5B #C5C05B #95C55B
triadic
#C5C05B #5BC5C0 #C05BC5
tetradic
#C5C05B #5BC58B #5B60C5 #C55B95
square
#C5C05B #5BC58B #5B60C5 #C55B95
split-complementary
#C5C05B #5B95C5 #8B5BC5
monochromatic
#7A772B #A8A23B #C5C05B #D5D188 #E5E3B5

Accessibility & contrast

On white

1.90
#C5C05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#C5C05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C05B
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C05B#FFFFFF#000000##000000
##C5C05B1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA51
Deuteranopia (green-blind)
#D1BE60
Tritanopia (blue-blind)
#D2B5A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c05b;
/* rgb */ color: rgb(197, 192, 91);
/* oklch */ color: oklch(79.1% 0.124 106.3);
Tailwind
colors: {
  custom: {
    50: '#d9d28c',
    500: '#c5c05b',
    950: '#000000',
  },
}
SCSS
$custom: #c5c05b;
$custom-light: #d9d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c05b",
  "rgb": {
    "r": 197,
    "g": 192,
    "b": 91
  },
  "hsl": {
    "h": 57.17,
    "s": 47.748,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7914,
    "c": 0.12363,
    "h": 106.3
  },
  "luminance": 0.50325
}

Semantic roles & 50–950 ramp

primary
#C5C05B
secondary
#414483
accent
#57D750
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C5C05B

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

Preview Lab → · Contrast checker → · Palette generator →

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