#C2BE40#C2BE40

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

Color values

HEX#C2BE40
RGBrgb(194, 190, 64)
HSLhsl(58, 52%, 51%)
HSVhsv(58, 67%, 76%)
CMYKcmyk(0%, 2.1%, 67%, 23.9%)
CIE-LABlab(75.24, -13.70, 61.29)
CIE-LCHlch(75.24, 62.80, 102.60°)
OKLaboklab(78.19% -0.0434 0.1375)
OKLCHoklch(78.19% 0.144 107.5)
XYZxyz(41.5885, 48.6678, 12.0526)
Luminance0.4867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BE40 #4044C2
analogous
#C27D40 #C2BE40 #85C240
triadic
#C2BE40 #40C2BE #BE40C2
tetradic
#C2BE40 #40C27D #4044C2 #C24085
square
#C2BE40 #40C27D #4044C2 #C24085
split-complementary
#C2BE40 #4085C2 #7D40C2
monochromatic
#676521 #959230 #C2BE40 #D1CE6E #E0DE9D

Accessibility & contrast

On white

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

On black

10.73
#C2BE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BE40
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BE40#FFFFFF#000000##000000
##C2BE401.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2be40;
/* rgb */ color: rgb(194, 190, 64);
/* oklch */ color: oklch(78.2% 0.144 107.5);
Tailwind
colors: {
  custom: {
    50: '#d8d17c',
    500: '#c2be40',
    950: '#000000',
  },
}
SCSS
$custom: #c2be40;
$custom-light: #d8d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2be40",
  "rgb": {
    "r": 194,
    "g": 190,
    "b": 64
  },
  "hsl": {
    "h": 58.154,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78187,
    "c": 0.14416,
    "h": 107.5
  },
  "luminance": 0.48666
}

Semantic roles & 50–950 ramp

primary
#C2BE40
secondary
#9294CC
accent
#51DB4D
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C2BE40

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

Preview Lab → · Contrast checker → · Palette generator →

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