#C2BF52#C2BF52

#C2BF52 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.6% C 0.131 H 107.6°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#C2BF52
RGBrgb(194, 191, 82)
HSLhsl(58, 48%, 54%)
HSVhsv(58, 58%, 76%)
CMYKcmyk(0%, 1.5%, 57.7%, 23.9%)
CIE-LABlab(75.66, -13.05, 54.13)
CIE-LCHlch(75.66, 55.68, 103.55°)
OKLaboklab(78.57% -0.0396 0.1249)
OKLCHoklch(78.57% 0.131 107.6)
XYZxyz(42.4032, 49.3414, 15.2712)
Luminance0.4934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BF52 #5255C2
analogous
#C28752 #C2BF52 #8DC252
triadic
#C2BF52 #52C2BF #BF52C2
tetradic
#C2BF52 #52C287 #5255C2 #C2528D
square
#C2BF52 #52C287 #5255C2 #C2528D
split-complementary
#C2BF52 #528DC2 #8752C2
monochromatic
#727028 #9F9C38 #C2BF52 #D2D07F #E2E0AC

Accessibility & contrast

On white

1.93
#C2BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#C2BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BF52
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BF52#FFFFFF#000000##000000
##C2BF521.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB846
Deuteranopia (green-blind)
#CFBC58
Tritanopia (blue-blind)
#CFB4A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c2bf52;
/* rgb */ color: rgb(194, 191, 82);
/* oklch */ color: oklch(78.6% 0.131 107.6);
Tailwind
colors: {
  custom: {
    50: '#d7d287',
    500: '#c2bf52',
    950: '#000000',
  },
}
SCSS
$custom: #c2bf52;
$custom-light: #d7d287;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bf52",
  "rgb": {
    "r": 194,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 58.393,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78569,
    "c": 0.13104,
    "h": 107.6
  },
  "luminance": 0.4934
}

Semantic roles & 50–950 ramp

primary
#C2BF52
secondary
#A0A1D0
accent
#54D750
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #C2BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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