#C2BA37#C2BA37

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

Color values

HEX#C2BA37
RGBrgb(194, 186, 55)
HSLhsl(57, 56%, 49%)
HSVhsv(57, 72%, 76%)
CMYKcmyk(0%, 4.1%, 71.6%, 23.9%)
CIE-LABlab(74.10, -12.13, 63.56)
CIE-LCHlch(74.10, 64.71, 100.81°)
OKLaboklab(77.26% -0.0399 0.1407)
OKLCHoklch(77.26% 0.146 105.8)
XYZxyz(40.4983, 46.8645, 10.5262)
Luminance0.4686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BA37 #373FC2
analogous
#C27537 #C2BA37 #85C237
triadic
#C2BA37 #37C2BA #BA37C2
tetradic
#C2BA37 #37C275 #373FC2 #C23785
square
#C2BA37 #37C275 #373FC2 #C23785
split-complementary
#C2BA37 #3785C2 #7537C2
monochromatic
#635F1C #928C29 #C2BA37 #D3CC63 #E0DC93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2BA37#FFFFFF#000000##000000
##C2BA371.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2ba37;
/* rgb */ color: rgb(194, 186, 55);
/* oklch */ color: oklch(77.3% 0.146 105.8);
Tailwind
colors: {
  custom: {
    50: '#d8ce77',
    500: '#c2ba37',
    950: '#000000',
  },
}
SCSS
$custom: #c2ba37;
$custom-light: #d8ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ba37",
  "rgb": {
    "r": 194,
    "g": 186,
    "b": 55
  },
  "hsl": {
    "h": 56.547,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77259,
    "c": 0.14627,
    "h": 105.8
  },
  "luminance": 0.46863
}

Semantic roles & 50–950 ramp

primary
#C2BA37
secondary
#898DCB
accent
#51DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2BA37

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

Preview Lab → · Contrast checker → · Palette generator →

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