#C5C052#C5C052

#C5C052 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.0% C 0.132 H 106.6°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#C5C052
RGBrgb(197, 192, 82)
HSLhsl(57, 50%, 55%)
HSVhsv(57, 58%, 77%)
CMYKcmyk(0%, 2.5%, 58.4%, 22.7%)
CIE-LABlab(76.18, -12.30, 54.77)
CIE-LCHlch(76.18, 56.14, 102.66°)
OKLaboklab(79.04% -0.0377 0.1262)
OKLCHoklch(79.04% 0.132 106.6)
XYZxyz(43.3999, 50.1801, 15.3806)
Luminance0.5018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C052 #5257C5
analogous
#C58652 #C5C052 #91C552
triadic
#C5C052 #52C5C0 #C052C5
tetradic
#C5C052 #52C586 #5257C5 #C55291
square
#C5C052 #52C586 #5257C5 #C55291
split-complementary
#C5C052 #5291C5 #8652C5
monochromatic
#757227 #A39E37 #C5C052 #D4D180 #E4E1AE

Accessibility & contrast

On white

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

On black

11.04
#C5C052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C052
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C052#FFFFFF#000000##000000
##C5C0521.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB946
Deuteranopia (green-blind)
#D1BE58
Tritanopia (blue-blind)
#D2B5A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c052;
/* rgb */ color: rgb(197, 192, 82);
/* oklch */ color: oklch(79.0% 0.132 106.6);
Tailwind
colors: {
  custom: {
    50: '#d9d287',
    500: '#c5c052',
    950: '#000000',
  },
}
SCSS
$custom: #c5c052;
$custom-light: #d9d287;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c052",
  "rgb": {
    "r": 197,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 57.391,
    "s": 49.784,
    "l": 54.706
  },
  "oklch": {
    "l": 0.7904,
    "c": 0.13173,
    "h": 106.6
  },
  "luminance": 0.50179
}

Semantic roles & 50–950 ramp

primary
#C5C052
secondary
#3D407E
accent
#55D94E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5C052

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

Preview Lab → · Contrast checker → · Palette generator →

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