#C4BA40#C4BA40

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

Color values

HEX#C4BA40
RGBrgb(196, 186, 64)
HSLhsl(55, 53%, 51%)
HSVhsv(55, 67%, 77%)
CMYKcmyk(0%, 5.1%, 67.3%, 23.1%)
CIE-LABlab(74.33, -10.81, 60.42)
CIE-LCHlch(74.33, 61.37, 100.14°)
OKLaboklab(77.5% -0.0354 0.1356)
OKLCHoklch(77.5% 0.14 104.6)
XYZxyz(41.2509, 47.2253, 11.7920)
Luminance0.4722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BA40 #404AC4
analogous
#C47840 #C4BA40 #8CC440
triadic
#C4BA40 #40C4BA #BA40C4
tetradic
#C4BA40 #40C478 #404AC4 #C4408C
square
#C4BA40 #40C478 #404AC4 #C4408C
split-complementary
#C4BA40 #408CC4 #7840C4
monochromatic
#696420 #98902F #C4BA40 #D2CB6F #E1DC9E

Accessibility & contrast

On white

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

On black

10.44
#C4BA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BA40
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BA40#FFFFFF#000000##000000
##C4BA401.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4ba40;
/* rgb */ color: rgb(196, 186, 64);
/* oklch */ color: oklch(77.5% 0.140 104.6);
Tailwind
colors: {
  custom: {
    50: '#d9ce7c',
    500: '#c4ba40',
    950: '#000000',
  },
}
SCSS
$custom: #c4ba40;
$custom-light: #d9ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ba40",
  "rgb": {
    "r": 196,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 55.455,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77503,
    "c": 0.14011,
    "h": 104.6
  },
  "luminance": 0.47224
}

Semantic roles & 50–950 ramp

primary
#C4BA40
secondary
#9397CD
accent
#57DC4C
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4BA40

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

Preview Lab → · Contrast checker → · Palette generator →

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