#C2BA34#C2BA34

#C2BA34 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.2% C 0.148 H 105.9°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#C2BA34
RGBrgb(194, 186, 52)
HSLhsl(57, 58%, 48%)
HSVhsv(57, 73%, 76%)
CMYKcmyk(0%, 4.1%, 73.2%, 23.9%)
CIE-LABlab(74.09, -12.27, 64.61)
CIE-LCHlch(74.09, 65.76, 100.75°)
OKLaboklab(77.24% -0.0406 0.1424)
OKLCHoklch(77.24% 0.148 105.9)
XYZxyz(40.4285, 46.8366, 10.1589)
Luminance0.4683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BA34 #343CC2
analogous
#C27334 #C2BA34 #83C234
triadic
#C2BA34 #34C2BA #BA34C2
tetradic
#C2BA34 #34C273 #343CC2 #C23483
square
#C2BA34 #34C273 #343CC2 #C23483
split-complementary
#C2BA34 #3483C2 #7334C2
monochromatic
#615D1A #928C27 #C2BA34 #D4CE5F #E1DC8F

Accessibility & contrast

On white

2.03
#C2BA34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#C2BA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BA34
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BA34#FFFFFF#000000##000000
##C2BA341.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB31A
Deuteranopia (green-blind)
#CDB93E
Tritanopia (blue-blind)
#D0ADA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c2ba34;
/* rgb */ color: rgb(194, 186, 52);
/* oklch */ color: oklch(77.2% 0.148 105.9);
Tailwind
colors: {
  custom: {
    50: '#d8ce75',
    500: '#c2ba34',
    950: '#000000',
  },
}
SCSS
$custom: #c2ba34;
$custom-light: #d8ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ba34",
  "rgb": {
    "r": 194,
    "g": 186,
    "b": 52
  },
  "hsl": {
    "h": 56.62,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77239,
    "c": 0.14806,
    "h": 105.9
  },
  "luminance": 0.46835
}

Semantic roles & 50–950 ramp

primary
#C2BA34
secondary
#868ACC
accent
#50E147
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2BA34

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

Preview Lab → · Contrast checker → · Palette generator →

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