#C2B533#C2B533

#C2B533 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.2% C 0.144 H 103.5°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#C2B533
RGBrgb(194, 181, 51)
HSLhsl(55, 58%, 48%)
HSVhsv(55, 74%, 76%)
CMYKcmyk(0%, 6.7%, 73.7%, 23.9%)
CIE-LABlab(72.73, -9.74, 63.67)
CIE-LCHlch(72.73, 64.41, 98.70°)
OKLaboklab(76.16% -0.0336 0.1402)
OKLCHoklch(76.16% 0.144 103.5)
XYZxyz(39.3713, 44.7577, 9.6966)
Luminance0.4476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B533 #3340C2
analogous
#C26D33 #C2B533 #88C233
triadic
#C2B533 #33C2B5 #B533C2
tetradic
#C2B533 #33C26D #3340C2 #C23388
square
#C2B533 #33C26D #3340C2 #C23388
split-complementary
#C2B533 #3388C2 #6D33C2
monochromatic
#615B1A #928826 #C2B533 #D5CA5E #E1DA8E

Accessibility & contrast

On white

2.11
#C2B533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#C2B533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B533
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B533#FFFFFF#000000##000000
##C2B5331.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1A
Deuteranopia (green-blind)
#CAB53C
Tritanopia (blue-blind)
#D1A89C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b533;
/* rgb */ color: rgb(194, 181, 51);
/* oklch */ color: oklch(76.2% 0.144 103.5);
Tailwind
colors: {
  custom: {
    50: '#d8ca74',
    500: '#c2b533',
    950: '#000000',
  },
}
SCSS
$custom: #c2b533;
$custom-light: #d8ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b533",
  "rgb": {
    "r": 194,
    "g": 181,
    "b": 51
  },
  "hsl": {
    "h": 54.545,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7616,
    "c": 0.14419,
    "h": 103.5
  },
  "luminance": 0.44756
}

Semantic roles & 50–950 ramp

primary
#C2B533
secondary
#858BCC
accent
#54E246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B533

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

Preview Lab → · Contrast checker → · Palette generator →

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