#C4BA42#C4BA42

#C4BA42 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.5% C 0.139 H 104.5°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#C4BA42
RGBrgb(196, 186, 66)
HSLhsl(55, 52%, 51%)
HSVhsv(55, 66%, 77%)
CMYKcmyk(0%, 5.1%, 66.3%, 23.1%)
CIE-LABlab(74.35, -10.70, 59.63)
CIE-LCHlch(74.35, 60.58, 100.17°)
OKLaboklab(77.52% -0.0348 0.1342)
OKLCHoklch(77.52% 0.139 104.5)
XYZxyz(41.3088, 47.2485, 12.0971)
Luminance0.4725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BA42 #424CC4
analogous
#C47942 #C4BA42 #8DC442
triadic
#C4BA42 #42C4BA #BA42C4
tetradic
#C4BA42 #42C479 #424CC4 #C4428D
square
#C4BA42 #42C479 #424CC4 #C4428D
split-complementary
#C4BA42 #428DC4 #7942C4
monochromatic
#6A6521 #999130 #C4BA42 #D3CB71 #E1DC9F

Accessibility & contrast

On white

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

On black

10.45
#C4BA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BA42
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BA42#FFFFFF#000000##000000
##C4BA421.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4ba42;
/* rgb */ color: rgb(196, 186, 66);
/* oklch */ color: oklch(77.5% 0.139 104.5);
Tailwind
colors: {
  custom: {
    50: '#d9ce7d',
    500: '#c4ba42',
    950: '#000000',
  },
}
SCSS
$custom: #c4ba42;
$custom-light: #d9ce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ba42",
  "rgb": {
    "r": 196,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 55.385,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77519,
    "c": 0.13868,
    "h": 104.5
  },
  "luminance": 0.47247
}

Semantic roles & 50–950 ramp

primary
#C4BA42
secondary
#9499CE
accent
#57DC4C
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4BA42

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

Preview Lab → · Contrast checker → · Palette generator →

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