#C5B93A#C5B93A

#C5B93A is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.3% C 0.143 H 103.9°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#C5B93A
RGBrgb(197, 185, 58)
HSLhsl(55, 55%, 50%)
HSVhsv(55, 71%, 77%)
CMYKcmyk(0%, 6.1%, 70.6%, 22.7%)
CIE-LABlab(74.11, -10.18, 62.55)
CIE-LCHlch(74.11, 63.37, 99.25°)
OKLaboklab(77.33% -0.0343 0.139)
OKLCHoklch(77.33% 0.143 103.9)
XYZxyz(41.1404, 46.8754, 10.8830)
Luminance0.4687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B93A #3A46C5
analogous
#C5733A #C5B93A #8CC53A
triadic
#C5B93A #3AC5B9 #B93AC5
tetradic
#C5B93A #3AC573 #3A46C5 #C53A8C
square
#C5B93A #3AC573 #3A46C5 #C53A8C
split-complementary
#C5B93A #3A8CC5 #733AC5
monochromatic
#66601E #968D2C #C5B93A #D3CA69 #E1DB99

Accessibility & contrast

On white

2.02
#C5B93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#C5B93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B93A
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B93A#FFFFFF#000000##000000
##C5B93A1.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B326
Deuteranopia (green-blind)
#CDB942
Tritanopia (blue-blind)
#D4ACA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c5b93a;
/* rgb */ color: rgb(197, 185, 58);
/* oklch */ color: oklch(77.3% 0.143 103.9);
Tailwind
colors: {
  custom: {
    50: '#dacd78',
    500: '#c5b93a',
    950: '#000000',
  },
}
SCSS
$custom: #c5b93a;
$custom-light: #dacd78;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b93a",
  "rgb": {
    "r": 197,
    "g": 185,
    "b": 58
  },
  "hsl": {
    "h": 54.82,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.77332,
    "c": 0.14316,
    "h": 103.9
  },
  "luminance": 0.46874
}

Semantic roles & 50–950 ramp

primary
#C5B93A
secondary
#8E94CD
accent
#57DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B93A

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

Preview Lab → · Contrast checker → · Palette generator →

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