#C2BF38#C2BF38

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

Color values

HEX#C2BF38
RGBrgb(194, 191, 56)
HSLhsl(59, 55%, 49%)
HSVhsv(59, 71%, 76%)
CMYKcmyk(0%, 1.5%, 71.1%, 23.9%)
CIE-LABlab(75.46, -14.63, 64.51)
CIE-LCHlch(75.46, 66.15, 102.77°)
OKLaboklab(78.35% -0.0468 0.1429)
OKLCHoklch(78.35% 0.15 108.1)
XYZxyz(41.5943, 49.0178, 11.0110)
Luminance0.4902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BF38 #383BC2
analogous
#C27A38 #C2BF38 #80C238
triadic
#C2BF38 #38C2BF #BF38C2
tetradic
#C2BF38 #38C27A #383BC2 #C23880
square
#C2BF38 #38C27A #383BC2 #C23880
split-complementary
#C2BF38 #3880C2 #7A38C2
monochromatic
#63611D #93902A #C2BF38 #D2D065 #E0DF94

Accessibility & contrast

On white

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

On black

10.80
#C2BF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BF38
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BF38#FFFFFF#000000##000000
##C2BF381.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2bf38;
/* rgb */ color: rgb(194, 191, 56);
/* oklch */ color: oklch(78.3% 0.150 108.1);
Tailwind
colors: {
  custom: {
    50: '#d8d278',
    500: '#c2bf38',
    950: '#000000',
  },
}
SCSS
$custom: #c2bf38;
$custom-light: #d8d278;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bf38",
  "rgb": {
    "r": 194,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 58.696,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78345,
    "c": 0.15038,
    "h": 108.1
  },
  "luminance": 0.49016
}

Semantic roles & 50–950 ramp

primary
#C2BF38
secondary
#8A8CCB
accent
#4DDF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #C2BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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