#C2BA52#C2BA52

#C2BA52 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.5% C 0.126 H 104.9°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#C2BA52
RGBrgb(194, 186, 82)
HSLhsl(56, 48%, 54%)
HSVhsv(56, 58%, 76%)
CMYKcmyk(0%, 4.1%, 57.7%, 23.9%)
CIE-LABlab(74.32, -10.49, 52.62)
CIE-LCHlch(74.32, 53.66, 101.27°)
OKLaboklab(77.5% -0.0323 0.1217)
OKLCHoklch(77.5% 0.126 104.9)
XYZxyz(41.3314, 47.1977, 14.9139)
Luminance0.4720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BA52 #525AC2
analogous
#C28252 #C2BA52 #92C252
triadic
#C2BA52 #52C2BA #BA52C2
tetradic
#C2BA52 #52C282 #525AC2 #C25292
square
#C2BA52 #52C282 #525AC2 #C25292
split-complementary
#C2BA52 #5292C2 #8252C2
monochromatic
#726C28 #9F9738 #C2BA52 #D2CC7F #E2DEAC

Accessibility & contrast

On white

2.01
#C2BA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#C2BA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BA52
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BA52#FFFFFF#000000##000000
##C2BA521.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B447
Deuteranopia (green-blind)
#CCB958
Tritanopia (blue-blind)
#CFAFA3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c2ba52;
/* rgb */ color: rgb(194, 186, 82);
/* oklch */ color: oklch(77.5% 0.126 104.9);
Tailwind
colors: {
  custom: {
    50: '#d7ce86',
    500: '#c2ba52',
    950: '#000000',
  },
}
SCSS
$custom: #c2ba52;
$custom-light: #d7ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ba52",
  "rgb": {
    "r": 194,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 55.714,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77497,
    "c": 0.12592,
    "h": 104.9
  },
  "luminance": 0.47196
}

Semantic roles & 50–950 ramp

primary
#C2BA52
secondary
#A0A3D0
accent
#5AD750
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2BA52

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

Preview Lab → · Contrast checker → · Palette generator →

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