#C2BA56#C2BA56

#C2BA56 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.5% C 0.122 H 104.7°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#C2BA56
RGBrgb(194, 186, 86)
HSLhsl(56, 47%, 55%)
HSVhsv(56, 56%, 76%)
CMYKcmyk(0%, 4.1%, 55.7%, 23.9%)
CIE-LABlab(74.36, -10.18, 50.82)
CIE-LCHlch(74.36, 51.83, 101.33°)
OKLaboklab(77.54% -0.031 0.1183)
OKLCHoklch(77.54% 0.122 104.7)
XYZxyz(41.4880, 47.2604, 15.7390)
Luminance0.4726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BA56 #565EC2
analogous
#C28456 #C2BA56 #94C256
triadic
#C2BA56 #56C2BA #BA56C2
tetradic
#C2BA56 #56C284 #565EC2 #C25694
square
#C2BA56 #56C284 #565EC2 #C25694
split-complementary
#C2BA56 #5694C2 #8456C2
monochromatic
#746E2A #A1993A #C2BA56 #D2CC83 #E2DFB0

Accessibility & contrast

On white

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

On black

10.45
#C2BA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BA56
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BA56#FFFFFF#000000##000000
##C2BA561.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44C
Deuteranopia (green-blind)
#CBB95B
Tritanopia (blue-blind)
#CFAFA4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c2ba56;
/* rgb */ color: rgb(194, 186, 86);
/* oklch */ color: oklch(77.5% 0.122 104.7);
Tailwind
colors: {
  custom: {
    50: '#d7ce89',
    500: '#c2ba56',
    950: '#000000',
  },
}
SCSS
$custom: #c2ba56;
$custom-light: #d7ce89;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ba56",
  "rgb": {
    "r": 194,
    "g": 186,
    "b": 86
  },
  "hsl": {
    "h": 55.556,
    "s": 46.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77541,
    "c": 0.12232,
    "h": 104.7
  },
  "luminance": 0.47259
}

Semantic roles & 50–950 ramp

primary
#C2BA56
secondary
#A3A7D1
accent
#5BD751
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2BA56

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

Preview Lab → · Contrast checker → · Palette generator →

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