#C2BB40#C2BB40

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

Color values

HEX#C2BB40
RGBrgb(194, 187, 64)
HSLhsl(57, 52%, 51%)
HSVhsv(57, 67%, 76%)
CMYKcmyk(0%, 3.6%, 67%, 23.9%)
CIE-LABlab(74.43, -12.17, 60.46)
CIE-LCHlch(74.43, 61.68, 101.38°)
OKLaboklab(77.54% -0.0391 0.1357)
OKLCHoklch(77.54% 0.141 106.1)
XYZxyz(40.9454, 47.3816, 11.8382)
Luminance0.4738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BB40 #4047C2
analogous
#C27A40 #C2BB40 #88C240
triadic
#C2BB40 #40C2BB #BB40C2
tetradic
#C2BB40 #40C27A #4047C2 #C24088
square
#C2BB40 #40C27A #4047C2 #C24088
split-complementary
#C2BB40 #4088C2 #7A40C2
monochromatic
#676321 #959030 #C2BB40 #D1CC6E #E0DC9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2BB40#FFFFFF#000000##000000
##C2BB401.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)
#CBB42F
Deuteranopia (green-blind)
#CEB948
Tritanopia (blue-blind)
#D0AFA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c2bb40;
/* rgb */ color: rgb(194, 187, 64);
/* oklch */ color: oklch(77.5% 0.141 106.1);
Tailwind
colors: {
  custom: {
    50: '#d8cf7c',
    500: '#c2bb40',
    950: '#000000',
  },
}
SCSS
$custom: #c2bb40;
$custom-light: #d8cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bb40",
  "rgb": {
    "r": 194,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 56.769,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77541,
    "c": 0.14125,
    "h": 106.1
  },
  "luminance": 0.4738
}

Semantic roles & 50–950 ramp

primary
#C2BB40
secondary
#9295CC
accent
#54DB4D
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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