#C3BA3A#C3BA3A

#C3BA3A is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.4% C 0.144 H 105.3°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#C3BA3A
RGBrgb(195, 186, 58)
HSLhsl(56, 54%, 50%)
HSVhsv(56, 70%, 76%)
CMYKcmyk(0%, 4.6%, 70.3%, 23.5%)
CIE-LABlab(74.21, -11.56, 62.58)
CIE-LCHlch(74.21, 63.64, 100.46°)
OKLaboklab(77.37% -0.038 0.1392)
OKLCHoklch(77.37% 0.144 105.3)
XYZxyz(40.8299, 47.0269, 10.9285)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3BA3A #3A43C3
analogous
#C3753A #C3BA3A #88C33A
triadic
#C3BA3A #3AC3BA #BA3AC3
tetradic
#C3BA3A #3AC375 #3A43C3 #C33A88
square
#C3BA3A #3AC375 #3A43C3 #C33A88
split-complementary
#C3BA3A #3A88C3 #753AC3
monochromatic
#65601E #948D2C #C3BA3A #D2CB68 #E0DB97

Accessibility & contrast

On white

2.02
#C3BA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#C3BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3BA3A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3BA3A#FFFFFF#000000##000000
##C3BA3A1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3ba3a;
/* rgb */ color: rgb(195, 186, 58);
/* oklch */ color: oklch(77.4% 0.144 105.3);
Tailwind
colors: {
  custom: {
    50: '#d9ce78',
    500: '#c3ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #c3ba3a;
$custom-light: #d9ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ba3a",
  "rgb": {
    "r": 195,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 56.058,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77368,
    "c": 0.14426,
    "h": 105.3
  },
  "luminance": 0.47025
}

Semantic roles & 50–950 ramp

primary
#C3BA3A
secondary
#8D91CC
accent
#54DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C3BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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