#C4BA24#C4BA24

#C4BA24 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.3% C 0.156 H 105.4°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#C4BA24
RGBrgb(196, 186, 36)
HSLhsl(56, 69%, 45%)
HSVhsv(56, 82%, 77%)
CMYKcmyk(0%, 5.1%, 81.6%, 23.1%)
CIE-LABlab(74.18, -12.01, 69.68)
CIE-LCHlch(74.18, 70.71, 99.78°)
OKLaboklab(77.33% -0.0413 0.1502)
OKLCHoklch(77.33% 0.156 105.4)
XYZxyz(40.6441, 46.9826, 8.5964)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BA24 #242EC4
analogous
#C46A24 #C4BA24 #7EC424
triadic
#C4BA24 #24C4BA #BA24C4
tetradic
#C4BA24 #24C46A #242EC4 #C4247E
square
#C4BA24 #24C46A #242EC4 #C4247E
split-complementary
#C4BA24 #247EC4 #6A24C4
monochromatic
#5D5811 #90891B #C4BA24 #DDD448 #E7E07C

Accessibility & contrast

On white

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

On black

10.40
#C4BA24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BA24
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BA24#FFFFFF#000000##000000
##C4BA241.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CFB932
Tritanopia (blue-blind)
#D3AD9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c4ba24;
/* rgb */ color: rgb(196, 186, 36);
/* oklch */ color: oklch(77.3% 0.156 105.4);
Tailwind
colors: {
  custom: {
    50: '#dace6e',
    500: '#c4ba24',
    950: '#000000',
  },
}
SCSS
$custom: #c4ba24;
$custom-light: #dace6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ba24",
  "rgb": {
    "r": 196,
    "g": 186,
    "b": 36
  },
  "hsl": {
    "h": 56.25,
    "s": 68.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7733,
    "c": 0.15576,
    "h": 105.4
  },
  "luminance": 0.46981
}

Semantic roles & 50–950 ramp

primary
#C4BA24
secondary
#757BCF
accent
#47EC3C
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#151308
muted
#84827B

Preview Lab

Preview with #C4BA24

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

Preview Lab → · Contrast checker → · Palette generator →

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