#C5C438#C5C438

#C5C438 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.7% C 0.155 H 109.0°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#C5C438
RGBrgb(197, 196, 56)
HSLhsl(60, 56%, 50%)
HSVhsv(60, 72%, 77%)
CMYKcmyk(0%, 0.5%, 71.6%, 22.7%)
CIE-LABlab(77.06, -15.87, 66.14)
CIE-LCHlch(77.06, 68.02, 103.49°)
OKLaboklab(79.68% -0.0505 0.1463)
OKLCHoklch(79.68% 0.155 109)
XYZxyz(43.4813, 51.6370, 11.4171)
Luminance0.5164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C438 #3839C5
analogous
#C57D38 #C5C438 #80C538
triadic
#C5C438 #38C5C4 #C438C5
tetradic
#C5C438 #38C57D #3839C5 #C53880
square
#C5C438 #38C57D #3839C5 #C53880
split-complementary
#C5C438 #3880C5 #7D38C5
monochromatic
#66651D #95952A #C5C438 #D4D367 #E1E196

Accessibility & contrast

On white

1.85
#C5C438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#C5C438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C438
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C438#FFFFFF#000000##000000
##C5C4381.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1E
Deuteranopia (green-blind)
#D6C043
Tritanopia (blue-blind)
#D3B7A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c5c438;
/* rgb */ color: rgb(197, 196, 56);
/* oklch */ color: oklch(79.7% 0.155 109.0);
Tailwind
colors: {
  custom: {
    50: '#dad578',
    500: '#c5c438',
    950: '#000000',
  },
}
SCSS
$custom: #c5c438;
$custom-light: #dad578;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c438",
  "rgb": {
    "r": 197,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 59.574,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79682,
    "c": 0.15471,
    "h": 109
  },
  "luminance": 0.51636
}

Semantic roles & 50–950 ramp

primary
#C5C438
secondary
#313270
accent
#4ADF49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C438

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

Preview Lab → · Contrast checker → · Palette generator →

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