#C5B53A#C5B53A

#C5B53A is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.5% C 0.140 H 101.7°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#C5B53A
RGBrgb(197, 181, 58)
HSLhsl(53, 55%, 50%)
HSVhsv(53, 71%, 77%)
CMYKcmyk(0%, 8.1%, 70.6%, 22.7%)
CIE-LABlab(73.04, -8.12, 61.49)
CIE-LCHlch(73.04, 62.02, 97.52°)
OKLaboklab(76.48% -0.0284 0.1368)
OKLCHoklch(76.48% 0.14 101.7)
XYZxyz(40.3153, 45.2253, 10.6079)
Luminance0.4522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B53A #3A4AC5
analogous
#C5703A #C5B53A #8FC53A
triadic
#C5B53A #3AC5B5 #B53AC5
tetradic
#C5B53A #3AC570 #3A4AC5 #C53A8F
square
#C5B53A #3AC570 #3A4AC5 #C53A8F
split-complementary
#C5B53A #3A8FC5 #703AC5
monochromatic
#665E1E #968A2C #C5B53A #D3C769 #E1D999

Accessibility & contrast

On white

2.09
#C5B53A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#C5B53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B53A
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B53A#FFFFFF#000000##000000
##C5B53A1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B027
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#D4A89D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c5b53a;
/* rgb */ color: rgb(197, 181, 58);
/* oklch */ color: oklch(76.5% 0.140 101.7);
Tailwind
colors: {
  custom: {
    50: '#daca78',
    500: '#c5b53a',
    950: '#000000',
  },
}
SCSS
$custom: #c5b53a;
$custom-light: #daca78;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b53a",
  "rgb": {
    "r": 197,
    "g": 181,
    "b": 58
  },
  "hsl": {
    "h": 53.094,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.76482,
    "c": 0.1397,
    "h": 101.7
  },
  "luminance": 0.45224
}

Semantic roles & 50–950 ramp

primary
#C5B53A
secondary
#8E95CD
accent
#5BDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B53A

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

Preview Lab → · Contrast checker → · Palette generator →

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