#C0BA2B#C0BA2B

#C0BA2B is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.0% C 0.153 H 107.0°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#C0BA2B
RGBrgb(192, 186, 43)
HSLhsl(58, 63%, 46%)
HSVhsv(58, 78%, 75%)
CMYKcmyk(0%, 3.1%, 77.6%, 24.7%)
CIE-LABlab(73.87, -13.50, 67.29)
CIE-LCHlch(73.87, 68.63, 101.35°)
OKLaboklab(77.01% -0.0447 0.1465)
OKLCHoklch(77.01% 0.153 107)
XYZxyz(39.7348, 46.5001, 9.1674)
Luminance0.4650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BA2B #2B31C0
analogous
#C06F2B #C0BA2B #7BC02B
triadic
#C0BA2B #2BC0BA #BA2BC0
tetradic
#C0BA2B #2BC06F #2B31C0 #C02B7B
square
#C0BA2B #2BC06F #2B31C0 #C02B7B
split-complementary
#C0BA2B #2B7BC0 #6F2BC0
monochromatic
#5C5915 #8E8A20 #C0BA2B #D8D250 #E3DF82

Accessibility & contrast

On white

2.04
#C0BA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#C0BA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0BA2B
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0BA2B#FFFFFF#000000##000000
##C0BA2B1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB300
Deuteranopia (green-blind)
#CDB837
Tritanopia (blue-blind)
#CEADA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c0ba2b;
/* rgb */ color: rgb(192, 186, 43);
/* oklch */ color: oklch(77.0% 0.153 107.0);
Tailwind
colors: {
  custom: {
    50: '#d7ce71',
    500: '#c0ba2b',
    950: '#000000',
  },
}
SCSS
$custom: #c0ba2b;
$custom-light: #d7ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ba2b",
  "rgb": {
    "r": 192,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 57.584,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77011,
    "c": 0.15319,
    "h": 107
  },
  "luminance": 0.46499
}

Semantic roles & 50–950 ramp

primary
#C0BA2B
secondary
#7B7ECC
accent
#48E641
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C0BA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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