#C2BE42#C2BE42

#C2BE42 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.2% C 0.143 H 107.5°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#C2BE42
RGBrgb(194, 190, 66)
HSLhsl(58, 51%, 51%)
HSVhsv(58, 66%, 76%)
CMYKcmyk(0%, 2.1%, 66%, 23.9%)
CIE-LABlab(75.26, -13.59, 60.51)
CIE-LCHlch(75.26, 62.02, 102.66°)
OKLaboklab(78.2% -0.0429 0.1362)
OKLCHoklch(78.2% 0.143 107.5)
XYZxyz(41.6464, 48.6909, 12.3577)
Luminance0.4869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BE42 #4246C2
analogous
#C27E42 #C2BE42 #86C242
triadic
#C2BE42 #42C2BE #BE42C2
tetradic
#C2BE42 #42C27E #4246C2 #C24286
square
#C2BE42 #42C27E #4246C2 #C24286
split-complementary
#C2BE42 #4286C2 #7E42C2
monochromatic
#686622 #969331 #C2BE42 #D1CE70 #E0DE9F

Accessibility & contrast

On white

1.96
#C2BE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#C2BE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BE42
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BE42#FFFFFF#000000##000000
##C2BE421.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB731
Deuteranopia (green-blind)
#D0BC4A
Tritanopia (blue-blind)
#D0B2A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c2be42;
/* rgb */ color: rgb(194, 190, 66);
/* oklch */ color: oklch(78.2% 0.143 107.5);
Tailwind
colors: {
  custom: {
    50: '#d8d17d',
    500: '#c2be42',
    950: '#000000',
  },
}
SCSS
$custom: #c2be42;
$custom-light: #d8d17d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2be42",
  "rgb": {
    "r": 194,
    "g": 190,
    "b": 66
  },
  "hsl": {
    "h": 58.125,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78203,
    "c": 0.14275,
    "h": 107.5
  },
  "luminance": 0.4869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2BE42

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

Preview Lab → · Contrast checker → · Palette generator →

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