#C0BB30#C0BB30

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

Color values

HEX#C0BB30
RGBrgb(192, 187, 48)
HSLhsl(58, 60%, 47%)
HSVhsv(58, 75%, 75%)
CMYKcmyk(0%, 2.6%, 75%, 24.7%)
CIE-LABlab(74.17, -13.81, 65.98)
CIE-LCHlch(74.17, 67.41, 101.82°)
OKLaboklab(77.26% -0.0452 0.1446)
OKLCHoklch(77.26% 0.152 107.3)
XYZxyz(40.0437, 46.9619, 9.7510)
Luminance0.4696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BB30 #3035C0
analogous
#C07330 #C0BB30 #7DC030
triadic
#C0BB30 #30C0BB #BB30C0
tetradic
#C0BB30 #30C073 #3035C0 #C0307D
square
#C0BB30 #30C073 #3035C0 #C0307D
split-complementary
#C0BB30 #307DC0 #7330C0
monochromatic
#5E5C18 #8F8B24 #C0BB30 #D5D158 #E1DE89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0BB30#FFFFFF#000000##000000
##C0BB301.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)
#CBB410
Deuteranopia (green-blind)
#CEB93B
Tritanopia (blue-blind)
#CEAEA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c0bb30;
/* rgb */ color: rgb(192, 187, 48);
/* oklch */ color: oklch(77.3% 0.152 107.3);
Tailwind
colors: {
  custom: {
    50: '#d7cf73',
    500: '#c0bb30',
    950: '#000000',
  },
}
SCSS
$custom: #c0bb30;
$custom-light: #d7cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bb30",
  "rgb": {
    "r": 192,
    "g": 187,
    "b": 48
  },
  "hsl": {
    "h": 57.917,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.77255,
    "c": 0.15153,
    "h": 107.3
  },
  "luminance": 0.46961
}

Semantic roles & 50–950 ramp

primary
#C0BB30
secondary
#8083CB
accent
#4AE345
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0BB30

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

Preview Lab → · Contrast checker → · Palette generator →

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