#C0BA3A#C0BA3A

#C0BA3A is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.1% C 0.145 H 106.7°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#C0BA3A
RGBrgb(192, 186, 58)
HSLhsl(57, 54%, 49%)
HSVhsv(57, 70%, 75%)
CMYKcmyk(0%, 3.1%, 69.8%, 24.7%)
CIE-LABlab(73.95, -12.84, 62.25)
CIE-LCHlch(73.95, 63.56, 101.66°)
OKLaboklab(77.11% -0.0415 0.1385)
OKLCHoklch(77.11% 0.145 106.7)
XYZxyz(40.0624, 46.6312, 10.8926)
Luminance0.4663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BA3A #3A40C0
analogous
#C0773A #C0BA3A #83C03A
triadic
#C0BA3A #3AC0BA #BA3AC0
tetradic
#C0BA3A #3AC077 #3A40C0 #C03A83
square
#C0BA3A #3AC077 #3A40C0 #C03A83
split-complementary
#C0BA3A #3A83C0 #773AC0
monochromatic
#625F1E #918C2C #C0BA3A #D1CC66 #DFDC95

Accessibility & contrast

On white

2.03
#C0BA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#C0BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0BA3A
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0BA3A#FFFFFF#000000##000000
##C0BA3A1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0ba3a;
/* rgb */ color: rgb(192, 186, 58);
/* oklch */ color: oklch(77.1% 0.145 106.7);
Tailwind
colors: {
  custom: {
    50: '#d6ce78',
    500: '#c0ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #c0ba3a;
$custom-light: #d6ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ba3a",
  "rgb": {
    "r": 192,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 57.313,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77105,
    "c": 0.14462,
    "h": 106.7
  },
  "luminance": 0.4663
}

Semantic roles & 50–950 ramp

primary
#C0BA3A
secondary
#8B8ECA
accent
#51DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C0BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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