#C0BA2C#C0BA2C

#C0BA2C 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#C0BA2C
RGBrgb(192, 186, 44)
HSLhsl(58, 63%, 46%)
HSVhsv(58, 77%, 75%)
CMYKcmyk(0%, 3.1%, 77.1%, 24.7%)
CIE-LABlab(73.87, -13.46, 66.99)
CIE-LCHlch(73.87, 68.33, 101.36°)
OKLaboklab(77.02% -0.0445 0.1461)
OKLCHoklch(77.02% 0.153 107)
XYZxyz(39.7534, 46.5076, 9.2652)
Luminance0.4651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BA2C #2C32C0
analogous
#C0702C #C0BA2C #7CC02C
triadic
#C0BA2C #2CC0BA #BA2CC0
tetradic
#C0BA2C #2CC070 #2C32C0 #C02C7C
square
#C0BA2C #2CC070 #2C32C0 #C02C7C
split-complementary
#C0BA2C #2C7CC0 #702CC0
monochromatic
#5C5A15 #8E8A21 #C0BA2C #D7D252 #E3DF84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0BA2C#FFFFFF#000000##000000
##C0BA2C1.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)
#CAB303
Deuteranopia (green-blind)
#CDB838
Tritanopia (blue-blind)
#CEADA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c0ba2c;
/* rgb */ color: rgb(192, 186, 44);
/* oklch */ color: oklch(77.0% 0.153 107.0);
Tailwind
colors: {
  custom: {
    50: '#d7ce71',
    500: '#c0ba2c',
    950: '#000000',
  },
}
SCSS
$custom: #c0ba2c;
$custom-light: #d7ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ba2c",
  "rgb": {
    "r": 192,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 57.568,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.77016,
    "c": 0.15269,
    "h": 107
  },
  "luminance": 0.46506
}

Semantic roles & 50–950 ramp

primary
#C0BA2C
secondary
#7C7FCC
accent
#49E642
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C0BA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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