#C2BB52#C2BB52

#C2BB52 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.7% C 0.127 H 105.4°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#C2BB52
RGBrgb(194, 187, 82)
HSLhsl(56, 48%, 54%)
HSVhsv(56, 58%, 76%)
CMYKcmyk(0%, 3.6%, 57.7%, 23.9%)
CIE-LABlab(74.58, -11.00, 52.92)
CIE-LCHlch(74.58, 54.05, 101.74°)
OKLaboklab(77.71% -0.0338 0.1223)
OKLCHoklch(77.71% 0.127 105.4)
XYZxyz(41.5428, 47.6205, 14.9844)
Luminance0.4762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BB52 #5259C2
analogous
#C28352 #C2BB52 #91C252
triadic
#C2BB52 #52C2BB #BB52C2
tetradic
#C2BB52 #52C283 #5259C2 #C25291
square
#C2BB52 #52C283 #5259C2 #C25291
split-complementary
#C2BB52 #5291C2 #8352C2
monochromatic
#726D28 #9F9838 #C2BB52 #D2CD7F #E2DFAC

Accessibility & contrast

On white

2.00
#C2BB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#C2BB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BB52
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BB52#FFFFFF#000000##000000
##C2BB521.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB547
Deuteranopia (green-blind)
#CCBA58
Tritanopia (blue-blind)
#CFB0A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c2bb52;
/* rgb */ color: rgb(194, 187, 82);
/* oklch */ color: oklch(77.7% 0.127 105.4);
Tailwind
colors: {
  custom: {
    50: '#d7cf86',
    500: '#c2bb52',
    950: '#000000',
  },
}
SCSS
$custom: #c2bb52;
$custom-light: #d7cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bb52",
  "rgb": {
    "r": 194,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 56.25,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77711,
    "c": 0.12692,
    "h": 105.4
  },
  "luminance": 0.47619
}

Semantic roles & 50–950 ramp

primary
#C2BB52
secondary
#A0A3D0
accent
#59D750
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2BB52

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

Preview Lab → · Contrast checker → · Palette generator →

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