#C3BA40#C3BA40

#C3BA40 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.4% C 0.140 H 105.1°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#C3BA40
RGBrgb(195, 186, 64)
HSLhsl(56, 52%, 51%)
HSVhsv(56, 67%, 76%)
CMYKcmyk(0%, 4.6%, 67.2%, 23.5%)
CIE-LABlab(74.25, -11.24, 60.30)
CIE-LCHlch(74.25, 61.34, 100.55°)
OKLaboklab(77.41% -0.0365 0.1354)
OKLCHoklch(77.41% 0.14 105.1)
XYZxyz(40.9916, 47.0916, 11.7798)
Luminance0.4709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3BA40 #4049C3
analogous
#C37840 #C3BA40 #8AC340
triadic
#C3BA40 #40C3BA #BA40C3
tetradic
#C3BA40 #40C378 #4049C3 #C3408A
square
#C3BA40 #40C378 #4049C3 #C3408A
split-complementary
#C3BA40 #408AC3 #7840C3
monochromatic
#686321 #978F2F #C3BA40 #D2CB6F #E0DC9D

Accessibility & contrast

On white

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

On black

10.42
#C3BA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3BA40
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3BA40#FFFFFF#000000##000000
##C3BA401.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB42F
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#D1AEA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c3ba40;
/* rgb */ color: rgb(195, 186, 64);
/* oklch */ color: oklch(77.4% 0.140 105.1);
Tailwind
colors: {
  custom: {
    50: '#d8ce7c',
    500: '#c3ba40',
    950: '#000000',
  },
}
SCSS
$custom: #c3ba40;
$custom-light: #d8ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ba40",
  "rgb": {
    "r": 195,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 55.878,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77414,
    "c": 0.1402,
    "h": 105.1
  },
  "luminance": 0.4709
}

Semantic roles & 50–950 ramp

primary
#C3BA40
secondary
#9296CC
accent
#56DC4C
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C3BA40

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

Preview Lab → · Contrast checker → · Palette generator →

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