#C2BF40#C2BF40

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

Color values

HEX#C2BF40
RGBrgb(194, 191, 64)
HSLhsl(59, 52%, 51%)
HSVhsv(59, 67%, 76%)
CMYKcmyk(0%, 1.5%, 67%, 23.9%)
CIE-LABlab(75.52, -14.21, 61.56)
CIE-LCHlch(75.52, 63.18, 103.00°)
OKLaboklab(78.4% -0.0448 0.1381)
OKLCHoklch(78.4% 0.145 108)
XYZxyz(41.8058, 49.1024, 12.1250)
Luminance0.4910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BF40 #4043C2
analogous
#C27E40 #C2BF40 #84C240
triadic
#C2BF40 #40C2BF #BF40C2
tetradic
#C2BF40 #40C27E #4043C2 #C24084
square
#C2BF40 #40C27E #4043C2 #C24084
split-complementary
#C2BF40 #4084C2 #7E40C2
monochromatic
#676521 #959330 #C2BF40 #D1CF6E #E0DE9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2BF40#FFFFFF#000000##000000
##C2BF401.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)
#CEB82D
Deuteranopia (green-blind)
#D1BC48
Tritanopia (blue-blind)
#D0B3A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c2bf40;
/* rgb */ color: rgb(194, 191, 64);
/* oklch */ color: oklch(78.4% 0.145 108.0);
Tailwind
colors: {
  custom: {
    50: '#d8d27c',
    500: '#c2bf40',
    950: '#000000',
  },
}
SCSS
$custom: #c2bf40;
$custom-light: #d8d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bf40",
  "rgb": {
    "r": 194,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 58.615,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78403,
    "c": 0.14515,
    "h": 108
  },
  "luminance": 0.49101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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