#C2BA42#C2BA42

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

Color values

HEX#C2BA42
RGBrgb(194, 186, 66)
HSLhsl(56, 51%, 51%)
HSVhsv(56, 66%, 76%)
CMYKcmyk(0%, 4.1%, 66%, 23.9%)
CIE-LABlab(74.18, -11.55, 59.40)
CIE-LCHlch(74.18, 60.51, 101.00°)
OKLaboklab(77.34% -0.0371 0.1338)
OKLCHoklch(77.34% 0.139 105.5)
XYZxyz(40.7919, 46.9819, 12.0729)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BA42 #424AC2
analogous
#C27A42 #C2BA42 #8AC242
triadic
#C2BA42 #42C2BA #BA42C2
tetradic
#C2BA42 #42C27A #424AC2 #C2428A
square
#C2BA42 #42C27A #424AC2 #C2428A
split-complementary
#C2BA42 #428AC2 #7A42C2
monochromatic
#686422 #969031 #C2BA42 #D1CB70 #E0DC9F

Accessibility & contrast

On white

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

On black

10.40
#C2BA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BA42
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BA42#FFFFFF#000000##000000
##C2BA421.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2ba42;
/* rgb */ color: rgb(194, 186, 66);
/* oklch */ color: oklch(77.3% 0.139 105.5);
Tailwind
colors: {
  custom: {
    50: '#d8ce7d',
    500: '#c2ba42',
    950: '#000000',
  },
}
SCSS
$custom: #c2ba42;
$custom-light: #d8ce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ba42",
  "rgb": {
    "r": 194,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 56.25,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77343,
    "c": 0.13885,
    "h": 105.5
  },
  "luminance": 0.4698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2BA42

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

Preview Lab → · Contrast checker → · Palette generator →

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