#C2BA3B#C2BA3B

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

Color values

HEX#C2BA3B
RGBrgb(194, 186, 59)
HSLhsl(56, 53%, 50%)
HSVhsv(56, 70%, 76%)
CMYKcmyk(0%, 4.1%, 69.6%, 23.9%)
CIE-LABlab(74.13, -11.93, 62.10)
CIE-LCHlch(74.13, 63.24, 100.88°)
OKLaboklab(77.29% -0.0389 0.1383)
OKLCHoklch(77.29% 0.144 105.7)
XYZxyz(40.5981, 46.9044, 11.0518)
Luminance0.4690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BA3B #3B43C2
analogous
#C2763B #C2BA3B #87C23B
triadic
#C2BA3B #3BC2BA #BA3BC2
tetradic
#C2BA3B #3BC276 #3B43C2 #C23B87
square
#C2BA3B #3BC276 #3B43C2 #C23B87
split-complementary
#C2BA3B #3B87C2 #763BC2
monochromatic
#64601E #938D2D #C2BA3B #D1CB69 #E0DB98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2BA3B#FFFFFF#000000##000000
##C2BA3B1.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)
#CAB327
Deuteranopia (green-blind)
#CDB944
Tritanopia (blue-blind)
#D0AEA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c2ba3b;
/* rgb */ color: rgb(194, 186, 59);
/* oklch */ color: oklch(77.3% 0.144 105.7);
Tailwind
colors: {
  custom: {
    50: '#d8ce79',
    500: '#c2ba3b',
    950: '#000000',
  },
}
SCSS
$custom: #c2ba3b;
$custom-light: #d8ce79;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ba3b",
  "rgb": {
    "r": 194,
    "g": 186,
    "b": 59
  },
  "hsl": {
    "h": 56.444,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77287,
    "c": 0.14372,
    "h": 105.7
  },
  "luminance": 0.46903
}

Semantic roles & 50–950 ramp

primary
#C2BA3B
secondary
#8E91CB
accent
#54DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2BA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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