#C0BF40#C0BF40

#C0BF40 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.2% C 0.145 H 108.9°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#C0BF40
RGBrgb(192, 191, 64)
HSLhsl(60, 50%, 50%)
HSVhsv(60, 67%, 75%)
CMYKcmyk(0%, 0.5%, 66.7%, 24.7%)
CIE-LABlab(75.35, -15.06, 61.34)
CIE-LCHlch(75.35, 63.17, 103.79°)
OKLaboklab(78.23% -0.0471 0.1377)
OKLCHoklch(78.23% 0.145 108.9)
XYZxyz(41.2959, 48.8395, 12.1011)
Luminance0.4884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BF40 #4041C0
analogous
#C07F40 #C0BF40 #81C040
triadic
#C0BF40 #40C0BF #BF40C0
tetradic
#C0BF40 #40C07F #4041C0 #C04081
square
#C0BF40 #40C07F #4041C0 #C04081
split-complementary
#C0BF40 #4081C0 #7F40C0
monochromatic
#646421 #929230 #C0BF40 #CFCE6E #DEDE9C

Accessibility & contrast

On white

1.95
#C0BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#C0BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0BF40
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0BF40#FFFFFF#000000##000000
##C0BF401.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72E
Deuteranopia (green-blind)
#D0BC49
Tritanopia (blue-blind)
#CDB3A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c0bf40;
/* rgb */ color: rgb(192, 191, 64);
/* oklch */ color: oklch(78.2% 0.145 108.9);
Tailwind
colors: {
  custom: {
    50: '#d6d27c',
    500: '#c0bf40',
    950: '#000000',
  },
}
SCSS
$custom: #c0bf40;
$custom-light: #d6d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bf40",
  "rgb": {
    "r": 192,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 59.531,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78233,
    "c": 0.14549,
    "h": 108.9
  },
  "luminance": 0.48838
}

Semantic roles & 50–950 ramp

primary
#C0BF40
secondary
#9192CB
accent
#4FDA4E
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C0BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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