#C2BE38#C2BE38

#C2BE38 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.1% C 0.149 H 107.7°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#C2BE38
RGBrgb(194, 190, 56)
HSLhsl(58, 55%, 49%)
HSVhsv(58, 71%, 76%)
CMYKcmyk(0%, 2.1%, 71.1%, 23.9%)
CIE-LABlab(75.19, -14.12, 64.25)
CIE-LCHlch(75.19, 65.79, 102.39°)
OKLaboklab(78.13% -0.0454 0.1424)
OKLCHoklch(78.13% 0.149 107.7)
XYZxyz(41.3770, 48.5831, 10.9385)
Luminance0.4858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BE38 #383CC2
analogous
#C27938 #C2BE38 #81C238
triadic
#C2BE38 #38C2BE #BE38C2
tetradic
#C2BE38 #38C279 #383CC2 #C23881
square
#C2BE38 #38C279 #383CC2 #C23881
split-complementary
#C2BE38 #3881C2 #7938C2
monochromatic
#63611D #938F2A #C2BE38 #D2CF65 #E0DE94

Accessibility & contrast

On white

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

On black

10.72
#C2BE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BE38
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BE38#FFFFFF#000000##000000
##C2BE381.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB620
Deuteranopia (green-blind)
#D0BB42
Tritanopia (blue-blind)
#D0B2A4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c2be38;
/* rgb */ color: rgb(194, 190, 56);
/* oklch */ color: oklch(78.1% 0.149 107.7);
Tailwind
colors: {
  custom: {
    50: '#d8d178',
    500: '#c2be38',
    950: '#000000',
  },
}
SCSS
$custom: #c2be38;
$custom-light: #d8d178;
$custom-dark: #000000;
JSON
{
  "hex": "#c2be38",
  "rgb": {
    "r": 194,
    "g": 190,
    "b": 56
  },
  "hsl": {
    "h": 58.261,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78128,
    "c": 0.14942,
    "h": 107.7
  },
  "luminance": 0.48582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2BE38

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

Preview Lab → · Contrast checker → · Palette generator →

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