#C2BA3A#C2BA3A

#C2BA3A is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.3% C 0.144 H 105.8°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#C2BA3A
RGBrgb(194, 186, 58)
HSLhsl(56, 54%, 49%)
HSVhsv(56, 70%, 76%)
CMYKcmyk(0%, 4.1%, 70.1%, 23.9%)
CIE-LABlab(74.12, -11.98, 62.47)
CIE-LCHlch(74.12, 63.61, 100.86°)
OKLaboklab(77.28% -0.0392 0.139)
OKLCHoklch(77.28% 0.144 105.8)
XYZxyz(40.5724, 46.8941, 10.9165)
Luminance0.4689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BA3A #3A42C2
analogous
#C2763A #C2BA3A #86C23A
triadic
#C2BA3A #3AC2BA #BA3AC2
tetradic
#C2BA3A #3AC276 #3A42C2 #C23A86
square
#C2BA3A #3AC276 #3A42C2 #C23A86
split-complementary
#C2BA3A #3A86C2 #763AC2
monochromatic
#64601E #938D2C #C2BA3A #D2CB67 #E0DB97

Accessibility & contrast

On white

2.02
#C2BA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#C2BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BA3A
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BA3A#FFFFFF#000000##000000
##C2BA3A1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB325
Deuteranopia (green-blind)
#CDB943
Tritanopia (blue-blind)
#D0AEA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c2ba3a;
/* rgb */ color: rgb(194, 186, 58);
/* oklch */ color: oklch(77.3% 0.144 105.8);
Tailwind
colors: {
  custom: {
    50: '#d8ce78',
    500: '#c2ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #c2ba3a;
$custom-light: #d8ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ba3a",
  "rgb": {
    "r": 194,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 56.471,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.7728,
    "c": 0.14437,
    "h": 105.8
  },
  "luminance": 0.46893
}

Semantic roles & 50–950 ramp

primary
#C2BA3A
secondary
#8D90CB
accent
#53DD4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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