#C5B13F#C5B13F

#C5B13F is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.7% C 0.133 H 99.2°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#C5B13F
RGBrgb(197, 177, 63)
HSLhsl(51, 54%, 51%)
HSVhsv(51, 68%, 77%)
CMYKcmyk(0%, 10.2%, 68%, 22.7%)
CIE-LABlab(72.01, -5.77, 58.47)
CIE-LCHlch(72.01, 58.76, 95.63°)
OKLaboklab(75.68% -0.0212 0.1313)
OKLCHoklch(75.68% 0.133 99.2)
XYZxyz(39.6471, 43.6753, 11.0435)
Luminance0.4367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B13F #3F53C5
analogous
#C56E3F #C5B13F #96C53F
triadic
#C5B13F #3FC5B1 #B13FC5
tetradic
#C5B13F #3FC56E #3F53C5 #C53F96
square
#C5B13F #3FC56E #3F53C5 #C53F96
split-complementary
#C5B13F #3F96C5 #6E3FC5
monochromatic
#6A5F20 #99892E #C5B13F #D3C46E #E1D79D

Accessibility & contrast

On white

2.16
#C5B13F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#C5B13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B13F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B13F#FFFFFF#000000##000000
##C5B13F1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC2F
Deuteranopia (green-blind)
#C7B446
Tritanopia (blue-blind)
#D4A49A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c5b13f;
/* rgb */ color: rgb(197, 177, 63);
/* oklch */ color: oklch(75.7% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#dac87a',
    500: '#c5b13f',
    950: '#000000',
  },
}
SCSS
$custom: #c5b13f;
$custom-light: #dac87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b13f",
  "rgb": {
    "r": 197,
    "g": 177,
    "b": 63
  },
  "hsl": {
    "h": 51.045,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75676,
    "c": 0.13297,
    "h": 99.2
  },
  "luminance": 0.43673
}

Semantic roles & 50–950 ramp

primary
#C5B13F
secondary
#929BCE
accent
#61DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B13F

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

Preview Lab → · Contrast checker → · Palette generator →

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