#C5B33C#C5B33C

#C5B33C is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.1% C 0.137 H 100.5°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#C5B33C
RGBrgb(197, 179, 60)
HSLhsl(52, 54%, 50%)
HSVhsv(52, 70%, 77%)
CMYKcmyk(0%, 9.1%, 69.5%, 22.7%)
CIE-LABlab(72.52, -6.97, 60.19)
CIE-LCHlch(72.52, 60.60, 96.61°)
OKLaboklab(76.07% -0.025 0.1344)
OKLCHoklch(76.07% 0.137 100.5)
XYZxyz(39.9635, 44.4386, 10.7466)
Luminance0.4444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B33C #3C4EC5
analogous
#C56F3C #C5B33C #92C53C
triadic
#C5B33C #3CC5B3 #B33CC5
tetradic
#C5B33C #3CC56F #3C4EC5 #C53C92
square
#C5B33C #3CC56F #3C4EC5 #C53C92
split-complementary
#C5B33C #3C92C5 #6F3CC5
monochromatic
#685E1F #97892D #C5B33C #D3C56B #E1D89A

Accessibility & contrast

On white

2.12
#C5B33C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#C5B33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B33C
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B33C#FFFFFF#000000##000000
##C5B33C1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE2B
Deuteranopia (green-blind)
#C9B543
Tritanopia (blue-blind)
#D4A69B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c5b33c;
/* rgb */ color: rgb(197, 179, 60);
/* oklch */ color: oklch(76.1% 0.137 100.5);
Tailwind
colors: {
  custom: {
    50: '#dac979',
    500: '#c5b33c',
    950: '#000000',
  },
}
SCSS
$custom: #c5b33c;
$custom-light: #dac979;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b33c",
  "rgb": {
    "r": 197,
    "g": 179,
    "b": 60
  },
  "hsl": {
    "h": 52.117,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76074,
    "c": 0.13669,
    "h": 100.5
  },
  "luminance": 0.44437
}

Semantic roles & 50–950 ramp

primary
#C5B33C
secondary
#9098CD
accent
#5EDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B33C

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

Preview Lab → · Contrast checker → · Palette generator →

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