#C5B13E#C5B13E

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

Color values

HEX#C5B13E
RGBrgb(197, 177, 62)
HSLhsl(51, 54%, 51%)
HSVhsv(51, 69%, 77%)
CMYKcmyk(0%, 10.2%, 68.5%, 22.7%)
CIE-LABlab(72.00, -5.82, 58.87)
CIE-LCHlch(72.00, 59.16, 95.65°)
OKLaboklab(75.67% -0.0215 0.1319)
OKLCHoklch(75.67% 0.134 99.3)
XYZxyz(39.6194, 43.6642, 10.8976)
Luminance0.4366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B13E #3E52C5
analogous
#C56D3E #C5B13E #95C53E
triadic
#C5B13E #3EC5B1 #B13EC5
tetradic
#C5B13E #3EC56D #3E52C5 #C53E95
square
#C5B13E #3EC56D #3E52C5 #C53E95
split-complementary
#C5B13E #3E95C5 #6D3EC5
monochromatic
#695E20 #98882E #C5B13E #D3C46D #E1D79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5B13E#FFFFFF#000000##000000
##C5B13E1.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)
#C2AC2E
Deuteranopia (green-blind)
#C7B445
Tritanopia (blue-blind)
#D4A49A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c5b13e;
/* rgb */ color: rgb(197, 177, 62);
/* oklch */ color: oklch(75.7% 0.134 99.3);
Tailwind
colors: {
  custom: {
    50: '#dac87a',
    500: '#c5b13e',
    950: '#000000',
  },
}
SCSS
$custom: #c5b13e;
$custom-light: #dac87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b13e",
  "rgb": {
    "r": 197,
    "g": 177,
    "b": 62
  },
  "hsl": {
    "h": 51.111,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75668,
    "c": 0.13368,
    "h": 99.3
  },
  "luminance": 0.43662
}

Semantic roles & 50–950 ramp

primary
#C5B13E
secondary
#919ACD
accent
#60DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B13E

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

Preview Lab → · Contrast checker → · Palette generator →

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