#C0BA40#C0BA40

#C0BA40 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.2% C 0.141 H 106.5°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#C0BA40
RGBrgb(192, 186, 64)
HSLhsl(57, 50%, 50%)
HSVhsv(57, 67%, 75%)
CMYKcmyk(0%, 3.1%, 66.7%, 24.7%)
CIE-LABlab(73.99, -12.52, 59.96)
CIE-LCHlch(73.99, 61.25, 101.79°)
OKLaboklab(77.15% -0.04 0.1347)
OKLCHoklch(77.15% 0.141 106.5)
XYZxyz(40.2240, 46.6958, 11.7439)
Luminance0.4669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BA40 #4046C0
analogous
#C07A40 #C0BA40 #86C040
triadic
#C0BA40 #40C0BA #BA40C0
tetradic
#C0BA40 #40C07A #4046C0 #C04086
square
#C0BA40 #40C07A #4046C0 #C04086
split-complementary
#C0BA40 #4086C0 #7A40C0
monochromatic
#646121 #928E30 #C0BA40 #CFCB6E #DEDB9C

Accessibility & contrast

On white

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

On black

10.34
#C0BA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0BA40
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0BA40#FFFFFF#000000##000000
##C0BA401.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0ba40;
/* rgb */ color: rgb(192, 186, 64);
/* oklch */ color: oklch(77.2% 0.141 106.5);
Tailwind
colors: {
  custom: {
    50: '#d6ce7b',
    500: '#c0ba40',
    950: '#000000',
  },
}
SCSS
$custom: #c0ba40;
$custom-light: #d6ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ba40",
  "rgb": {
    "r": 192,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 57.188,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77151,
    "c": 0.14053,
    "h": 106.5
  },
  "luminance": 0.46694
}

Semantic roles & 50–950 ramp

primary
#C0BA40
secondary
#9194CB
accent
#54DA4E
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0BA40

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

Preview Lab → · Contrast checker → · Palette generator →

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