#C0BA3F#C0BA3F

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

Color values

HEX#C0BA3F
RGBrgb(192, 186, 63)
HSLhsl(57, 51%, 50%)
HSVhsv(57, 67%, 75%)
CMYKcmyk(0%, 3.1%, 67.2%, 24.7%)
CIE-LABlab(73.99, -12.57, 60.35)
CIE-LCHlch(73.99, 61.65, 101.77°)
OKLaboklab(77.14% -0.0402 0.1354)
OKLCHoklch(77.14% 0.141 106.5)
XYZxyz(40.1958, 46.6845, 11.5953)
Luminance0.4668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BA3F #3F45C0
analogous
#C0793F #C0BA3F #86C03F
triadic
#C0BA3F #3FC0BA #BA3FC0
tetradic
#C0BA3F #3FC079 #3F45C0 #C03F86
square
#C0BA3F #3FC079 #3F45C0 #C03F86
split-complementary
#C0BA3F #3F86C0 #793FC0
monochromatic
#646121 #928D30 #C0BA3F #CFCB6D #DEDB9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0BA3F#FFFFFF#000000##000000
##C0BA3F1.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)
#C9B32D
Deuteranopia (green-blind)
#CCB847
Tritanopia (blue-blind)
#CEAEA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c0ba3f;
/* rgb */ color: rgb(192, 186, 63);
/* oklch */ color: oklch(77.1% 0.141 106.5);
Tailwind
colors: {
  custom: {
    50: '#d6ce7b',
    500: '#c0ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #c0ba3f;
$custom-light: #d6ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ba3f",
  "rgb": {
    "r": 192,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 57.209,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.77143,
    "c": 0.14124,
    "h": 106.5
  },
  "luminance": 0.46683
}

Semantic roles & 50–950 ramp

primary
#C0BA3F
secondary
#9193CA
accent
#54DA4E
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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