#C0BF42#C0BF42

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

Color values

HEX#C0BF42
RGBrgb(192, 191, 66)
HSLhsl(60, 50%, 51%)
HSVhsv(60, 66%, 75%)
CMYKcmyk(0%, 0.5%, 65.6%, 24.7%)
CIE-LABlab(75.37, -14.94, 60.57)
CIE-LCHlch(75.37, 62.38, 103.86°)
OKLaboklab(78.25% -0.0466 0.1363)
OKLCHoklch(78.25% 0.144 108.9)
XYZxyz(41.3538, 48.8626, 12.4063)
Luminance0.4886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BF42 #4243C0
analogous
#C08042 #C0BF42 #82C042
triadic
#C0BF42 #42C0BF #BF42C0
tetradic
#C0BF42 #42C080 #4243C0 #C04282
square
#C0BF42 #42C080 #4243C0 #C04282
split-complementary
#C0BF42 #4282C0 #8042C0
monochromatic
#666522 #949331 #C0BF42 #CFCF70 #DFDE9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0BF42#FFFFFF#000000##000000
##C0BF421.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)
#CEB731
Deuteranopia (green-blind)
#D0BC4A
Tritanopia (blue-blind)
#CDB3A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c0bf42;
/* rgb */ color: rgb(192, 191, 66);
/* oklch */ color: oklch(78.2% 0.144 108.9);
Tailwind
colors: {
  custom: {
    50: '#d6d27d',
    500: '#c0bf42',
    950: '#000000',
  },
}
SCSS
$custom: #c0bf42;
$custom-light: #d6d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bf42",
  "rgb": {
    "r": 192,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 59.524,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78249,
    "c": 0.14407,
    "h": 108.9
  },
  "luminance": 0.48861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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