#C0BB31#C0BB31

#C0BB31 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.3% C 0.151 H 107.3°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#C0BB31
RGBrgb(192, 187, 49)
HSLhsl(58, 59%, 47%)
HSVhsv(58, 74%, 75%)
CMYKcmyk(0%, 2.6%, 74.5%, 24.7%)
CIE-LABlab(74.17, -13.77, 65.65)
CIE-LCHlch(74.17, 67.08, 101.85°)
OKLaboklab(77.26% -0.045 0.1441)
OKLCHoklch(77.26% 0.151 107.3)
XYZxyz(40.0645, 46.9703, 9.8609)
Luminance0.4697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BB31 #3136C0
analogous
#C07431 #C0BB31 #7EC031
triadic
#C0BB31 #31C0BB #BB31C0
tetradic
#C0BB31 #31C074 #3136C0 #C0317E
square
#C0BB31 #31C074 #3136C0 #C0317E
split-complementary
#C0BB31 #317EC0 #7431C0
monochromatic
#5E5C18 #8F8C25 #C0BB31 #D5D059 #E1DE8A

Accessibility & contrast

On white

2.02
#C0BB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#C0BB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0BB31
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0BB31#FFFFFF#000000##000000
##C0BB311.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB413
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#CEAEA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c0bb31;
/* rgb */ color: rgb(192, 187, 49);
/* oklch */ color: oklch(77.3% 0.151 107.3);
Tailwind
colors: {
  custom: {
    50: '#d7cf74',
    500: '#c0bb31',
    950: '#000000',
  },
}
SCSS
$custom: #c0bb31;
$custom-light: #d7cf74;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bb31",
  "rgb": {
    "r": 192,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 57.902,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.77261,
    "c": 0.15098,
    "h": 107.3
  },
  "luminance": 0.46969
}

Semantic roles & 50–950 ramp

primary
#C0BB31
secondary
#8284CB
accent
#4BE345
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0BB31

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

Preview Lab → · Contrast checker → · Palette generator →

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