#C2BA40#C2BA40

#C2BA40 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.3% C 0.140 H 105.6°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#C2BA40
RGBrgb(194, 186, 64)
HSLhsl(56, 52%, 51%)
HSVhsv(56, 67%, 76%)
CMYKcmyk(0%, 4.1%, 67%, 23.9%)
CIE-LABlab(74.16, -11.66, 60.19)
CIE-LCHlch(74.16, 61.31, 100.97°)
OKLaboklab(77.33% -0.0377 0.1352)
OKLCHoklch(77.33% 0.14 105.6)
XYZxyz(40.7340, 46.9588, 11.7678)
Luminance0.4696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BA40 #4048C2
analogous
#C27940 #C2BA40 #89C240
triadic
#C2BA40 #40C2BA #BA40C2
tetradic
#C2BA40 #40C279 #4048C2 #C24089
square
#C2BA40 #40C279 #4048C2 #C24089
split-complementary
#C2BA40 #4089C2 #7940C2
monochromatic
#676221 #958F30 #C2BA40 #D1CB6E #E0DC9D

Accessibility & contrast

On white

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

On black

10.39
#C2BA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BA40
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BA40#FFFFFF#000000##000000
##C2BA401.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2ba40;
/* rgb */ color: rgb(194, 186, 64);
/* oklch */ color: oklch(77.3% 0.140 105.6);
Tailwind
colors: {
  custom: {
    50: '#d8ce7c',
    500: '#c2ba40',
    950: '#000000',
  },
}
SCSS
$custom: #c2ba40;
$custom-light: #d8ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ba40",
  "rgb": {
    "r": 194,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 56.308,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77326,
    "c": 0.1403,
    "h": 105.6
  },
  "luminance": 0.46957
}

Semantic roles & 50–950 ramp

primary
#C2BA40
secondary
#9296CC
accent
#56DB4D
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2BA40

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

Preview Lab → · Contrast checker → · Palette generator →

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