#C2B332#C2B332

#C2B332 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.7% C 0.143 H 102.5°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#C2B332
RGBrgb(194, 179, 50)
HSLhsl(54, 59%, 48%)
HSVhsv(54, 74%, 76%)
CMYKcmyk(0%, 7.7%, 74.2%, 23.9%)
CIE-LABlab(72.19, -8.75, 63.51)
CIE-LCHlch(72.19, 64.11, 97.85°)
OKLaboklab(75.73% -0.0309 0.1397)
OKLCHoklch(75.73% 0.143 102.5)
XYZxyz(38.9457, 43.9415, 9.4471)
Luminance0.4394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B332 #3241C2
analogous
#C26B32 #C2B332 #89C232
triadic
#C2B332 #32C2B3 #B332C2
tetradic
#C2B332 #32C26B #3241C2 #C23289
square
#C2B332 #32C26B #3241C2 #C23289
split-complementary
#C2B332 #3289C2 #6B32C2
monochromatic
#615919 #918625 #C2B332 #D5C85C #E2D98D

Accessibility & contrast

On white

2.15
#C2B332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#C2B332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B332
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B332#FFFFFF#000000##000000
##C2B3321.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD19
Deuteranopia (green-blind)
#C8B43B
Tritanopia (blue-blind)
#D1A69A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b332;
/* rgb */ color: rgb(194, 179, 50);
/* oklch */ color: oklch(75.7% 0.143 102.5);
Tailwind
colors: {
  custom: {
    50: '#d8c973',
    500: '#c2b332',
    950: '#000000',
  },
}
SCSS
$custom: #c2b332;
$custom-light: #d8c973;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b332",
  "rgb": {
    "r": 194,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 53.75,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75727,
    "c": 0.14306,
    "h": 102.5
  },
  "luminance": 0.4394
}

Semantic roles & 50–950 ramp

primary
#C2B332
secondary
#848BCC
accent
#56E246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B332

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

Preview Lab → · Contrast checker → · Palette generator →

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