#C2BF42#C2BF42

#C2BF42 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.4% C 0.144 H 108.0°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#C2BF42
RGBrgb(194, 191, 66)
HSLhsl(59, 51%, 51%)
HSVhsv(59, 66%, 76%)
CMYKcmyk(0%, 1.5%, 66%, 23.9%)
CIE-LABlab(75.53, -14.10, 60.79)
CIE-LCHlch(75.53, 62.40, 103.06°)
OKLaboklab(78.42% -0.0443 0.1367)
OKLCHoklch(78.42% 0.144 108)
XYZxyz(41.8638, 49.1256, 12.4302)
Luminance0.4912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BF42 #4245C2
analogous
#C27F42 #C2BF42 #85C242
triadic
#C2BF42 #42C2BF #BF42C2
tetradic
#C2BF42 #42C27F #4245C2 #C24285
square
#C2BF42 #42C27F #4245C2 #C24285
split-complementary
#C2BF42 #4285C2 #7F42C2
monochromatic
#686622 #969431 #C2BF42 #D1CF70 #E0DE9F

Accessibility & contrast

On white

1.94
#C2BF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#C2BF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BF42
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BF42#FFFFFF#000000##000000
##C2BF421.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB831
Deuteranopia (green-blind)
#D0BC4A
Tritanopia (blue-blind)
#D0B3A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c2bf42;
/* rgb */ color: rgb(194, 191, 66);
/* oklch */ color: oklch(78.4% 0.144 108.0);
Tailwind
colors: {
  custom: {
    50: '#d8d27d',
    500: '#c2bf42',
    950: '#000000',
  },
}
SCSS
$custom: #c2bf42;
$custom-light: #d8d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bf42",
  "rgb": {
    "r": 194,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 58.594,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78419,
    "c": 0.14374,
    "h": 108
  },
  "luminance": 0.49124
}

Semantic roles & 50–950 ramp

primary
#C2BF42
secondary
#9495CC
accent
#50DB4D
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C2BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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