#C0BF51#C0BF51

#C0BF51 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.4% C 0.132 H 108.6°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#C0BF51
RGBrgb(192, 191, 81)
HSLhsl(59, 47%, 54%)
HSVhsv(59, 58%, 75%)
CMYKcmyk(0%, 0.5%, 57.8%, 24.7%)
CIE-LABlab(75.49, -13.96, 54.34)
CIE-LCHlch(75.49, 56.10, 104.40°)
OKLaboklab(78.39% -0.0422 0.1253)
OKLCHoklch(78.39% 0.132 108.6)
XYZxyz(41.8554, 49.0633, 15.0483)
Luminance0.4906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BF51 #5152C0
analogous
#C08751 #C0BF51 #89C051
triadic
#C0BF51 #51C0BF #BF51C0
tetradic
#C0BF51 #51C087 #5152C0 #C05189
square
#C0BF51 #51C087 #5152C0 #C05189
split-complementary
#C0BF51 #5189C0 #8751C0
monochromatic
#6F6E28 #9B9B38 #C0BF51 #D0D07E #E1E0AB

Accessibility & contrast

On white

1.94
#C0BF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#C0BF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0BF51
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0BF51#FFFFFF#000000##000000
##C0BF511.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB845
Deuteranopia (green-blind)
#CFBC57
Tritanopia (blue-blind)
#CCB4A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c0bf51;
/* rgb */ color: rgb(192, 191, 81);
/* oklch */ color: oklch(78.4% 0.132 108.6);
Tailwind
colors: {
  custom: {
    50: '#d6d286',
    500: '#c0bf51',
    950: '#000000',
  },
}
SCSS
$custom: #c0bf51;
$custom-light: #d6d286;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bf51",
  "rgb": {
    "r": 192,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 59.459,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78389,
    "c": 0.13219,
    "h": 108.6
  },
  "luminance": 0.49062
}

Semantic roles & 50–950 ramp

primary
#C0BF51
secondary
#9F9FCE
accent
#53D651
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #C0BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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