#C5B930#C5B930

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

Color values

HEX#C5B930
RGBrgb(197, 185, 48)
HSLhsl(55, 61%, 48%)
HSVhsv(55, 76%, 77%)
CMYKcmyk(0%, 6.1%, 75.6%, 22.7%)
CIE-LABlab(74.05, -10.64, 66.03)
CIE-LCHlch(74.05, 66.88, 99.15°)
OKLaboklab(77.27% -0.0365 0.1446)
OKLCHoklch(77.27% 0.149 104.2)
XYZxyz(40.9102, 46.7833, 9.6709)
Luminance0.4678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B930 #303CC5
analogous
#C56F30 #C5B930 #86C530
triadic
#C5B930 #30C5B9 #B930C5
tetradic
#C5B930 #30C56F #303CC5 #C53086
square
#C5B930 #30C56F #303CC5 #C53086
split-complementary
#C5B930 #3086C5 #6F30C5
monochromatic
#635D18 #948B24 #C5B930 #D7CD5B #E3DC8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5B930#FFFFFF#000000##000000
##C5B9301.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)
#CAB311
Deuteranopia (green-blind)
#CEB93A
Tritanopia (blue-blind)
#D4AC9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c5b930;
/* rgb */ color: rgb(197, 185, 48);
/* oklch */ color: oklch(77.3% 0.149 104.2);
Tailwind
colors: {
  custom: {
    50: '#dbcd73',
    500: '#c5b930',
    950: '#000000',
  },
}
SCSS
$custom: #c5b930;
$custom-light: #dbcd73;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b930",
  "rgb": {
    "r": 197,
    "g": 185,
    "b": 48
  },
  "hsl": {
    "h": 55.168,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77266,
    "c": 0.14909,
    "h": 104.2
  },
  "luminance": 0.46782
}

Semantic roles & 50–950 ramp

primary
#C5B930
secondary
#8489CD
accent
#51E444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B930

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

Preview Lab → · Contrast checker → · Palette generator →

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