#C2BF51#C2BF51

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

Color values

HEX#C2BF51
RGBrgb(194, 191, 81)
HSLhsl(58, 48%, 54%)
HSVhsv(58, 58%, 76%)
CMYKcmyk(0%, 1.5%, 58.2%, 23.9%)
CIE-LABlab(75.65, -13.12, 54.56)
CIE-LCHlch(75.65, 56.12, 103.52°)
OKLaboklab(78.56% -0.0399 0.1257)
OKLCHoklch(78.56% 0.132 107.6)
XYZxyz(42.3654, 49.3263, 15.0722)
Luminance0.4933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BF51 #5154C2
analogous
#C28751 #C2BF51 #8DC251
triadic
#C2BF51 #51C2BF #BF51C2
tetradic
#C2BF51 #51C287 #5154C2 #C2518D
square
#C2BF51 #51C287 #5154C2 #C2518D
split-complementary
#C2BF51 #518DC2 #8751C2
monochromatic
#716F28 #9E9C37 #C2BF51 #D2D07E #E2E0AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2BF51#FFFFFF#000000##000000
##C2BF511.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)
#CDB845
Deuteranopia (green-blind)
#D0BC57
Tritanopia (blue-blind)
#CFB4A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c2bf51;
/* rgb */ color: rgb(194, 191, 81);
/* oklch */ color: oklch(78.6% 0.132 107.6);
Tailwind
colors: {
  custom: {
    50: '#d7d286',
    500: '#c2bf51',
    950: '#000000',
  },
}
SCSS
$custom: #c2bf51;
$custom-light: #d7d286;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bf51",
  "rgb": {
    "r": 194,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 58.407,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78558,
    "c": 0.13191,
    "h": 107.6
  },
  "luminance": 0.49325
}

Semantic roles & 50–950 ramp

primary
#C2BF51
secondary
#9FA1D0
accent
#54D850
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #C2BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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