#C5C245#C5C245

#C5C245 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.3% C 0.144 H 107.9°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#C5C245
RGBrgb(197, 194, 69)
HSLhsl(59, 52%, 52%)
HSVhsv(59, 65%, 77%)
CMYKcmyk(0%, 1.5%, 65%, 22.7%)
CIE-LABlab(76.61, -14.17, 60.77)
CIE-LCHlch(76.61, 62.41, 103.13°)
OKLaboklab(79.35% -0.0444 0.1371)
OKLCHoklch(79.35% 0.144 107.9)
XYZxyz(43.3934, 50.8849, 13.1650)
Luminance0.5088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C245 #4548C5
analogous
#C58245 #C5C245 #88C545
triadic
#C5C245 #45C5C2 #C245C5
tetradic
#C5C245 #45C582 #4548C5 #C54588
square
#C5C245 #45C582 #4548C5 #C54588
split-complementary
#C5C245 #4588C5 #8245C5
monochromatic
#6D6C22 #9C9A31 #C5C245 #D4D174 #E2E1A2

Accessibility & contrast

On white

1.88
#C5C245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#C5C245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C245
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C245#FFFFFF#000000##000000
##C5C2451.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB34
Deuteranopia (green-blind)
#D4BF4D
Tritanopia (blue-blind)
#D3B6A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c5c245;
/* rgb */ color: rgb(197, 194, 69);
/* oklch */ color: oklch(79.3% 0.144 107.9);
Tailwind
colors: {
  custom: {
    50: '#dad47f',
    500: '#c5c245',
    950: '#000000',
  },
}
SCSS
$custom: #c5c245;
$custom-light: #dad47f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c245",
  "rgb": {
    "r": 197,
    "g": 194,
    "b": 69
  },
  "hsl": {
    "h": 58.594,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79347,
    "c": 0.14411,
    "h": 107.9
  },
  "luminance": 0.50884
}

Semantic roles & 50–950 ramp

primary
#C5C245
secondary
#373977
accent
#4FDC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C245

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

Preview Lab → · Contrast checker → · Palette generator →

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