#C2BF3A#C2BF3A

#C2BF3A is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.4% C 0.149 H 108.1°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#C2BF3A
RGBrgb(194, 191, 58)
HSLhsl(59, 54%, 49%)
HSVhsv(59, 70%, 76%)
CMYKcmyk(0%, 1.5%, 70.1%, 23.9%)
CIE-LABlab(75.47, -14.53, 63.80)
CIE-LCHlch(75.47, 65.43, 102.83°)
OKLaboklab(78.36% -0.0463 0.1418)
OKLCHoklch(78.36% 0.149 108.1)
XYZxyz(41.6442, 49.0378, 11.2737)
Luminance0.4904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BF3A #3A3DC2
analogous
#C27B3A #C2BF3A #81C23A
triadic
#C2BF3A #3AC2BF #BF3AC2
tetradic
#C2BF3A #3AC27B #3A3DC2 #C23A81
square
#C2BF3A #3AC27B #3A3DC2 #C23A81
split-complementary
#C2BF3A #3A81C2 #7B3AC2
monochromatic
#64621E #93912C #C2BF3A #D2CF67 #E0DE97

Accessibility & contrast

On white

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

On black

10.81
#C2BF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BF3A
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BF3A#FFFFFF#000000##000000
##C2BF3A1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB724
Deuteranopia (green-blind)
#D1BC44
Tritanopia (blue-blind)
#D0B3A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c2bf3a;
/* rgb */ color: rgb(194, 191, 58);
/* oklch */ color: oklch(78.4% 0.149 108.1);
Tailwind
colors: {
  custom: {
    50: '#d8d279',
    500: '#c2bf3a',
    950: '#000000',
  },
}
SCSS
$custom: #c2bf3a;
$custom-light: #d8d279;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bf3a",
  "rgb": {
    "r": 194,
    "g": 191,
    "b": 58
  },
  "hsl": {
    "h": 58.676,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78358,
    "c": 0.14914,
    "h": 108.1
  },
  "luminance": 0.49036
}

Semantic roles & 50–950 ramp

primary
#C2BF3A
secondary
#8D8ECB
accent
#4EDD4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C2BF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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