#C5C141#C5C141

#C5C141 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.1% C 0.146 H 107.6°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#C5C141
RGBrgb(197, 193, 65)
HSLhsl(58, 53%, 51%)
HSVhsv(58, 67%, 77%)
CMYKcmyk(0%, 2%, 67%, 22.7%)
CIE-LABlab(76.31, -13.90, 62.06)
CIE-LCHlch(76.31, 63.60, 102.62°)
OKLaboklab(79.1% -0.044 0.1392)
OKLCHoklch(79.1% 0.146 107.6)
XYZxyz(43.0516, 50.3933, 12.4591)
Luminance0.5039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C141 #4145C5
analogous
#C57F41 #C5C141 #87C541
triadic
#C5C141 #41C5C1 #C141C5
tetradic
#C5C141 #41C57F #4145C5 #C54187
square
#C5C141 #41C57F #4145C5 #C54187
split-complementary
#C5C141 #4187C5 #7F41C5
monochromatic
#6B6921 #9A972F #C5C141 #D3D070 #E2E09F

Accessibility & contrast

On white

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

On black

11.08
#C5C141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C141
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C141#FFFFFF#000000##000000
##C5C1411.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2E
Deuteranopia (green-blind)
#D3BE49
Tritanopia (blue-blind)
#D3B5A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c141;
/* rgb */ color: rgb(197, 193, 65);
/* oklch */ color: oklch(79.1% 0.146 107.6);
Tailwind
colors: {
  custom: {
    50: '#dad37d',
    500: '#c5c141',
    950: '#000000',
  },
}
SCSS
$custom: #c5c141;
$custom-light: #dad37d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c141",
  "rgb": {
    "r": 197,
    "g": 193,
    "b": 65
  },
  "hsl": {
    "h": 58.182,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79099,
    "c": 0.14597,
    "h": 107.6
  },
  "luminance": 0.50392
}

Semantic roles & 50–950 ramp

primary
#C5C141
secondary
#353775
accent
#50DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C141

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

Preview Lab → · Contrast checker → · Palette generator →

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