#C5C045#C5C045

#C5C045 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.9% C 0.142 H 107.0°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#C5C045
RGBrgb(197, 192, 69)
HSLhsl(58, 52%, 52%)
HSVhsv(58, 65%, 77%)
CMYKcmyk(0%, 2.5%, 65%, 22.7%)
CIE-LABlab(76.07, -13.16, 60.21)
CIE-LCHlch(76.07, 61.64, 102.33°)
OKLaboklab(78.92% -0.0415 0.1359)
OKLCHoklch(78.92% 0.142 107)
XYZxyz(42.9513, 50.0007, 13.0177)
Luminance0.5000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C045 #454AC5
analogous
#C58045 #C5C045 #8AC545
triadic
#C5C045 #45C5C0 #C045C5
tetradic
#C5C045 #45C580 #454AC5 #C5458A
square
#C5C045 #45C580 #454AC5 #C5458A
split-complementary
#C5C045 #458AC5 #8045C5
monochromatic
#6D6B22 #9C9831 #C5C045 #D4D074 #E2E0A2

Accessibility & contrast

On white

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

On black

11.00
#C5C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C045
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C045#FFFFFF#000000##000000
##C5C0451.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B935
Deuteranopia (green-blind)
#D2BE4D
Tritanopia (blue-blind)
#D3B4A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c045;
/* rgb */ color: rgb(197, 192, 69);
/* oklch */ color: oklch(78.9% 0.142 107.0);
Tailwind
colors: {
  custom: {
    50: '#dad27f',
    500: '#c5c045',
    950: '#000000',
  },
}
SCSS
$custom: #c5c045;
$custom-light: #dad27f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c045",
  "rgb": {
    "r": 197,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 57.656,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78917,
    "c": 0.14213,
    "h": 107
  },
  "luminance": 0.49999
}

Semantic roles & 50–950 ramp

primary
#C5C045
secondary
#9799CF
accent
#52DC4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5C045

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

Preview Lab → · Contrast checker → · Palette generator →

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