#C5B934#C5B934

#C5B934 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.3% C 0.147 H 104.1°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#C5B934
RGBrgb(197, 185, 52)
HSLhsl(55, 58%, 49%)
HSVhsv(55, 74%, 77%)
CMYKcmyk(0%, 6.1%, 73.6%, 22.7%)
CIE-LABlab(74.07, -10.47, 64.69)
CIE-LCHlch(74.07, 65.53, 99.19°)
OKLaboklab(77.29% -0.0357 0.1425)
OKLCHoklch(77.29% 0.147 104.1)
XYZxyz(40.9965, 46.8178, 10.1254)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B934 #3440C5
analogous
#C57034 #C5B934 #89C534
triadic
#C5B934 #34C5B9 #B934C5
tetradic
#C5B934 #34C570 #3440C5 #C53489
square
#C5B934 #34C570 #3440C5 #C53489
split-complementary
#C5B934 #3489C5 #7034C5
monochromatic
#645E1A #958C27 #C5B934 #D5CC61 #E2DB91

Accessibility & contrast

On white

2.03
#C5B934 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#C5B934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B934
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B934#FFFFFF#000000##000000
##C5B9341.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB31A
Deuteranopia (green-blind)
#CEB93E
Tritanopia (blue-blind)
#D4AC9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c5b934;
/* rgb */ color: rgb(197, 185, 52);
/* oklch */ color: oklch(77.3% 0.147 104.1);
Tailwind
colors: {
  custom: {
    50: '#dacd75',
    500: '#c5b934',
    950: '#000000',
  },
}
SCSS
$custom: #c5b934;
$custom-light: #dacd75;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b934",
  "rgb": {
    "r": 197,
    "g": 185,
    "b": 52
  },
  "hsl": {
    "h": 55.034,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77291,
    "c": 0.14685,
    "h": 104.1
  },
  "luminance": 0.46816
}

Semantic roles & 50–950 ramp

primary
#C5B934
secondary
#888ECD
accent
#53E146
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B934

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

Preview Lab → · Contrast checker → · Palette generator →

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