#C4BA32#C4BA32

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

Color values

HEX#C4BA32
RGBrgb(196, 186, 50)
HSLhsl(56, 59%, 48%)
HSVhsv(56, 74%, 77%)
CMYKcmyk(0%, 5.1%, 74.5%, 23.1%)
CIE-LABlab(74.24, -11.50, 65.51)
CIE-LCHlch(74.24, 66.51, 99.95°)
OKLaboklab(77.4% -0.0387 0.1439)
OKLCHoklch(77.4% 0.149 105.1)
XYZxyz(40.9013, 47.0855, 9.9509)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BA32 #323CC4
analogous
#C47132 #C4BA32 #85C432
triadic
#C4BA32 #32C4BA #BA32C4
tetradic
#C4BA32 #32C471 #323CC4 #C43285
square
#C4BA32 #32C471 #323CC4 #C43285
split-complementary
#C4BA32 #3285C4 #7132C4
monochromatic
#625D19 #938C26 #C4BA32 #D6CE5D #E2DC8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4BA32#FFFFFF#000000##000000
##C4BA321.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)
#CBB316
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#D3ADA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c4ba32;
/* rgb */ color: rgb(196, 186, 50);
/* oklch */ color: oklch(77.4% 0.149 105.1);
Tailwind
colors: {
  custom: {
    50: '#dace74',
    500: '#c4ba32',
    950: '#000000',
  },
}
SCSS
$custom: #c4ba32;
$custom-light: #dace74;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ba32",
  "rgb": {
    "r": 196,
    "g": 186,
    "b": 50
  },
  "hsl": {
    "h": 55.89,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77403,
    "c": 0.14898,
    "h": 105.1
  },
  "luminance": 0.47084
}

Semantic roles & 50–950 ramp

primary
#C4BA32
secondary
#858ACD
accent
#50E345
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C4BA32

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

Preview Lab → · Contrast checker → · Palette generator →

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