#C5B93B#C5B93B

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

Color values

HEX#C5B93B
RGBrgb(197, 185, 59)
HSLhsl(55, 54%, 50%)
HSVhsv(55, 70%, 77%)
CMYKcmyk(0%, 6.1%, 70.1%, 22.7%)
CIE-LABlab(74.12, -10.13, 62.17)
CIE-LCHlch(74.12, 62.99, 99.26°)
OKLaboklab(77.34% -0.034 0.1384)
OKLCHoklch(77.34% 0.143 103.8)
XYZxyz(41.1661, 46.8856, 11.0182)
Luminance0.4688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B93B #3B47C5
analogous
#C5743B #C5B93B #8CC53B
triadic
#C5B93B #3BC5B9 #B93BC5
tetradic
#C5B93B #3BC574 #3B47C5 #C53B8C
square
#C5B93B #3BC574 #3B47C5 #C53B8C
split-complementary
#C5B93B #3B8CC5 #743BC5
monochromatic
#67611F #968D2C #C5B93B #D3CA6A #E1DB99

Accessibility & contrast

On white

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

On black

10.38
#C5B93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B93B
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B93B#FFFFFF#000000##000000
##C5B93B1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5b93b;
/* rgb */ color: rgb(197, 185, 59);
/* oklch */ color: oklch(77.3% 0.143 103.8);
Tailwind
colors: {
  custom: {
    50: '#dacd79',
    500: '#c5b93b',
    950: '#000000',
  },
}
SCSS
$custom: #c5b93b;
$custom-light: #dacd79;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b93b",
  "rgb": {
    "r": 197,
    "g": 185,
    "b": 59
  },
  "hsl": {
    "h": 54.783,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7734,
    "c": 0.14252,
    "h": 103.8
  },
  "luminance": 0.46884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5B93B

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

Preview Lab → · Contrast checker → · Palette generator →

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