#C0BF31#C0BF31

#C0BF31 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.1% C 0.155 H 109.1°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#C0BF31
RGBrgb(192, 191, 49)
HSLhsl(60, 59%, 47%)
HSVhsv(60, 74%, 75%)
CMYKcmyk(0%, 0.5%, 74.5%, 24.7%)
CIE-LABlab(75.26, -15.80, 66.67)
CIE-LCHlch(75.26, 68.51, 103.33°)
OKLaboklab(78.13% -0.0506 0.1463)
OKLCHoklch(78.13% 0.155 109.1)
XYZxyz(40.9249, 48.6911, 10.1477)
Luminance0.4869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BF31 #3132C0
analogous
#C07731 #C0BF31 #7AC031
triadic
#C0BF31 #31C0BF #BF31C0
tetradic
#C0BF31 #31C077 #3132C0 #C0317A
square
#C0BF31 #31C077 #3132C0 #C0317A
split-complementary
#C0BF31 #317AC0 #7731C0
monochromatic
#5E5E18 #8F8E25 #C0BF31 #D5D459 #E1E18A

Accessibility & contrast

On white

1.96
#C0BF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#C0BF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0BF31
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0BF31#FFFFFF#000000##000000
##C0BF311.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB710
Deuteranopia (green-blind)
#D1BB3C
Tritanopia (blue-blind)
#CEB3A4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c0bf31;
/* rgb */ color: rgb(192, 191, 49);
/* oklch */ color: oklch(78.1% 0.155 109.1);
Tailwind
colors: {
  custom: {
    50: '#d7d274',
    500: '#c0bf31',
    950: '#000000',
  },
}
SCSS
$custom: #c0bf31;
$custom-light: #d7d274;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bf31",
  "rgb": {
    "r": 192,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 59.58,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.78129,
    "c": 0.1548,
    "h": 109.1
  },
  "luminance": 0.4869
}

Semantic roles & 50–950 ramp

primary
#C0BF31
secondary
#8282CB
accent
#46E345
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C0BF31

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

Preview Lab → · Contrast checker → · Palette generator →

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