#C2BA35#C2BA35

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

Color values

HEX#C2BA35
RGBrgb(194, 186, 53)
HSLhsl(57, 57%, 48%)
HSVhsv(57, 73%, 76%)
CMYKcmyk(0%, 4.1%, 72.7%, 23.9%)
CIE-LABlab(74.09, -12.22, 64.26)
CIE-LCHlch(74.09, 65.42, 100.77°)
OKLaboklab(77.24% -0.0404 0.1419)
OKLCHoklch(77.24% 0.147 105.9)
XYZxyz(40.4513, 46.8457, 10.2788)
Luminance0.4684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BA35 #353DC2
analogous
#C27335 #C2BA35 #83C235
triadic
#C2BA35 #35C2BA #BA35C2
tetradic
#C2BA35 #35C273 #353DC2 #C23583
square
#C2BA35 #35C273 #353DC2 #C23583
split-complementary
#C2BA35 #3583C2 #7335C2
monochromatic
#625E1B #928C28 #C2BA35 #D4CD60 #E1DC91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2BA35#FFFFFF#000000##000000
##C2BA351.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)
#CAB31C
Deuteranopia (green-blind)
#CDB93F
Tritanopia (blue-blind)
#D0ADA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c2ba35;
/* rgb */ color: rgb(194, 186, 53);
/* oklch */ color: oklch(77.2% 0.147 105.9);
Tailwind
colors: {
  custom: {
    50: '#d8ce76',
    500: '#c2ba35',
    950: '#000000',
  },
}
SCSS
$custom: #c2ba35;
$custom-light: #d8ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ba35",
  "rgb": {
    "r": 194,
    "g": 186,
    "b": 53
  },
  "hsl": {
    "h": 56.596,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77245,
    "c": 0.14748,
    "h": 105.9
  },
  "luminance": 0.46844
}

Semantic roles & 50–950 ramp

primary
#C2BA35
secondary
#878BCC
accent
#50E047
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2BA35

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

Preview Lab → · Contrast checker → · Palette generator →

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