#C5C13F#C5C13F

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

Color values

HEX#C5C13F
RGBrgb(197, 193, 63)
HSLhsl(58, 54%, 51%)
HSVhsv(58, 68%, 77%)
CMYKcmyk(0%, 2%, 68%, 22.7%)
CIE-LABlab(76.30, -14.01, 62.82)
CIE-LCHlch(76.30, 64.36, 102.57°)
OKLaboklab(79.08% -0.0445 0.1404)
OKLCHoklch(79.08% 0.147 107.6)
XYZxyz(42.9947, 50.3705, 12.1594)
Luminance0.5037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C13F #3F43C5
analogous
#C57E3F #C5C13F #86C53F
triadic
#C5C13F #3FC5C1 #C13FC5
tetradic
#C5C13F #3FC57E #3F43C5 #C53F86
square
#C5C13F #3FC57E #3F43C5 #C53F86
split-complementary
#C5C13F #3F86C5 #7E3FC5
monochromatic
#6A6720 #99952E #C5C13F #D3D06E #E1DF9D

Accessibility & contrast

On white

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

On black

11.07
#C5C13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C13F
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C13F#FFFFFF#000000##000000
##C5C13F1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5c13f;
/* rgb */ color: rgb(197, 193, 63);
/* oklch */ color: oklch(79.1% 0.147 107.6);
Tailwind
colors: {
  custom: {
    50: '#dad37c',
    500: '#c5c13f',
    950: '#000000',
  },
}
SCSS
$custom: #c5c13f;
$custom-light: #dad37c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c13f",
  "rgb": {
    "r": 197,
    "g": 193,
    "b": 63
  },
  "hsl": {
    "h": 58.209,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79084,
    "c": 0.14734,
    "h": 107.6
  },
  "luminance": 0.50369
}

Semantic roles & 50–950 ramp

primary
#C5C13F
secondary
#353674
accent
#4FDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C13F

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

Preview Lab → · Contrast checker → · Palette generator →

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