#C3BA42#C3BA42

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

Color values

HEX#C3BA42
RGBrgb(195, 186, 66)
HSLhsl(56, 52%, 51%)
HSVhsv(56, 66%, 76%)
CMYKcmyk(0%, 4.6%, 66.2%, 23.5%)
CIE-LABlab(74.26, -11.12, 59.51)
CIE-LCHlch(74.26, 60.54, 100.59°)
OKLaboklab(77.43% -0.036 0.134)
OKLCHoklch(77.43% 0.139 105)
XYZxyz(41.0495, 47.1148, 12.0850)
Luminance0.4711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3BA42 #424BC3
analogous
#C37942 #C3BA42 #8BC342
triadic
#C3BA42 #42C3BA #BA42C3
tetradic
#C3BA42 #42C379 #424BC3 #C3428B
square
#C3BA42 #42C379 #424BC3 #C3428B
split-complementary
#C3BA42 #428BC3 #7942C3
monochromatic
#696421 #989030 #C3BA42 #D2CB70 #E0DC9F

Accessibility & contrast

On white

2.01
#C3BA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3BA42#FFFFFF#000000##000000
##C3BA421.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3ba42;
/* rgb */ color: rgb(195, 186, 66);
/* oklch */ color: oklch(77.4% 0.139 105.0);
Tailwind
colors: {
  custom: {
    50: '#d8ce7d',
    500: '#c3ba42',
    950: '#000000',
  },
}
SCSS
$custom: #c3ba42;
$custom-light: #d8ce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ba42",
  "rgb": {
    "r": 195,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 55.814,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77431,
    "c": 0.13877,
    "h": 105
  },
  "luminance": 0.47113
}

Semantic roles & 50–950 ramp

primary
#C3BA42
secondary
#9498CD
accent
#56DB4D
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C3BA42

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

Preview Lab → · Contrast checker → · Palette generator →

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