#C5B933#C5B933

#C5B933 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#C5B933
RGBrgb(197, 185, 51)
HSLhsl(55, 59%, 49%)
HSVhsv(55, 74%, 77%)
CMYKcmyk(0%, 6.1%, 74.1%, 22.7%)
CIE-LABlab(74.07, -10.51, 65.03)
CIE-LCHlch(74.07, 65.87, 99.18°)
OKLaboklab(77.29% -0.0359 0.143)
OKLCHoklch(77.29% 0.147 104.1)
XYZxyz(40.9742, 46.8089, 10.0080)
Luminance0.4681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B933 #333FC5
analogous
#C57033 #C5B933 #88C533
triadic
#C5B933 #33C5B9 #B933C5
tetradic
#C5B933 #33C570 #333FC5 #C53388
square
#C5B933 #33C570 #333FC5 #C53388
split-complementary
#C5B933 #3388C5 #7033C5
monochromatic
#645E1A #948B26 #C5B933 #D6CC5F #E2DC90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5B933#FFFFFF#000000##000000
##C5B9331.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)
#CAB318
Deuteranopia (green-blind)
#CEB93D
Tritanopia (blue-blind)
#D4AC9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c5b933;
/* rgb */ color: rgb(197, 185, 51);
/* oklch */ color: oklch(77.3% 0.147 104.1);
Tailwind
colors: {
  custom: {
    50: '#dacd75',
    500: '#c5b933',
    950: '#000000',
  },
}
SCSS
$custom: #c5b933;
$custom-light: #dacd75;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b933",
  "rgb": {
    "r": 197,
    "g": 185,
    "b": 51
  },
  "hsl": {
    "h": 55.068,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77285,
    "c": 0.14743,
    "h": 104.1
  },
  "luminance": 0.46807
}

Semantic roles & 50–950 ramp

primary
#C5B933
secondary
#878DCD
accent
#53E246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B933

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

Preview Lab → · Contrast checker → · Palette generator →

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