#C2B552#C2B552

#C2B552 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.4% C 0.121 H 101.9°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#C2B552
RGBrgb(194, 181, 82)
HSLhsl(53, 48%, 54%)
HSVhsv(53, 58%, 76%)
CMYKcmyk(0%, 6.7%, 57.7%, 23.9%)
CIE-LABlab(72.98, -7.90, 51.11)
CIE-LCHlch(72.98, 51.72, 98.79°)
OKLaboklab(76.43% -0.0249 0.1185)
OKLCHoklch(76.43% 0.121 101.9)
XYZxyz(40.2964, 45.1278, 14.5689)
Luminance0.4513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B552 #525FC2
analogous
#C27D52 #C2B552 #97C252
triadic
#C2B552 #52C2B5 #B552C2
tetradic
#C2B552 #52C27D #525FC2 #C25297
square
#C2B552 #52C27D #525FC2 #C25297
split-complementary
#C2B552 #5297C2 #7D52C2
monochromatic
#726928 #9F9338 #C2B552 #D2C87F #E2DCAC

Accessibility & contrast

On white

2.09
#C2B552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#C2B552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B552
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B552#FFFFFF#000000##000000
##C2B5521.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#C8B657
Tritanopia (blue-blind)
#CFAA9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2b552;
/* rgb */ color: rgb(194, 181, 82);
/* oklch */ color: oklch(76.4% 0.121 101.9);
Tailwind
colors: {
  custom: {
    50: '#d7ca86',
    500: '#c2b552',
    950: '#000000',
  },
}
SCSS
$custom: #c2b552;
$custom-light: #d7ca86;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b552",
  "rgb": {
    "r": 194,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 53.036,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76432,
    "c": 0.12107,
    "h": 101.9
  },
  "luminance": 0.45126
}

Semantic roles & 50–950 ramp

primary
#C2B552
secondary
#A0A6D0
accent
#60D750
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B552

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

Preview Lab → · Contrast checker → · Palette generator →

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