#C2BB42#C2BB42

#C2BB42 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.6% C 0.140 H 106.0°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#C2BB42
RGBrgb(194, 187, 66)
HSLhsl(57, 51%, 51%)
HSVhsv(57, 66%, 76%)
CMYKcmyk(0%, 3.6%, 66%, 23.9%)
CIE-LABlab(74.45, -12.06, 59.67)
CIE-LCHlch(74.45, 60.88, 101.43°)
OKLaboklab(77.56% -0.0386 0.1344)
OKLCHoklch(77.56% 0.14 106)
XYZxyz(41.0033, 47.4048, 12.1434)
Luminance0.4740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BB42 #4249C2
analogous
#C27B42 #C2BB42 #89C242
triadic
#C2BB42 #42C2BB #BB42C2
tetradic
#C2BB42 #42C27B #4249C2 #C24289
square
#C2BB42 #42C27B #4249C2 #C24289
split-complementary
#C2BB42 #4289C2 #7B42C2
monochromatic
#686422 #969131 #C2BB42 #D1CC70 #E0DC9F

Accessibility & contrast

On white

2.00
#C2BB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#C2BB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BB42
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BB42#FFFFFF#000000##000000
##C2BB421.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB432
Deuteranopia (green-blind)
#CDB94A
Tritanopia (blue-blind)
#D0AFA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c2bb42;
/* rgb */ color: rgb(194, 187, 66);
/* oklch */ color: oklch(77.6% 0.140 106.0);
Tailwind
colors: {
  custom: {
    50: '#d8cf7d',
    500: '#c2bb42',
    950: '#000000',
  },
}
SCSS
$custom: #c2bb42;
$custom-light: #d8cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bb42",
  "rgb": {
    "r": 194,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 56.719,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77557,
    "c": 0.13982,
    "h": 106
  },
  "luminance": 0.47403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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