#C5B43A#C5B43A

#C5B43A is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.3% C 0.139 H 101.2°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#C5B43A
RGBrgb(197, 180, 58)
HSLhsl(53, 55%, 50%)
HSVhsv(53, 71%, 77%)
CMYKcmyk(0%, 8.6%, 70.6%, 22.7%)
CIE-LABlab(72.77, -7.60, 61.23)
CIE-LCHlch(72.77, 61.69, 97.07°)
OKLaboklab(76.27% -0.027 0.1362)
OKLCHoklch(76.27% 0.139 101.2)
XYZxyz(40.1127, 44.8201, 10.5404)
Luminance0.4482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B43A #3A4BC5
analogous
#C56F3A #C5B43A #90C53A
triadic
#C5B43A #3AC5B4 #B43AC5
tetradic
#C5B43A #3AC56F #3A4BC5 #C53A90
square
#C5B43A #3AC56F #3A4BC5 #C53A90
split-complementary
#C5B43A #3A90C5 #6F3AC5
monochromatic
#665E1E #96892C #C5B43A #D3C669 #E1D899

Accessibility & contrast

On white

2.11
#C5B43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#C5B43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B43A
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B43A#FFFFFF#000000##000000
##C5B43A1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5b43a;
/* rgb */ color: rgb(197, 180, 58);
/* oklch */ color: oklch(76.3% 0.139 101.2);
Tailwind
colors: {
  custom: {
    50: '#daca78',
    500: '#c5b43a',
    950: '#000000',
  },
}
SCSS
$custom: #c5b43a;
$custom-light: #daca78;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b43a",
  "rgb": {
    "r": 197,
    "g": 180,
    "b": 58
  },
  "hsl": {
    "h": 52.662,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.7627,
    "c": 0.13885,
    "h": 101.2
  },
  "luminance": 0.44818
}

Semantic roles & 50–950 ramp

primary
#C5B43A
secondary
#8E96CD
accent
#5CDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B43A

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

Preview Lab → · Contrast checker → · Palette generator →

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