#C4BA28#C4BA28

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

Color values

HEX#C4BA28
RGBrgb(196, 186, 40)
HSLhsl(56, 66%, 46%)
HSVhsv(56, 80%, 77%)
CMYKcmyk(0%, 5.1%, 79.6%, 23.1%)
CIE-LABlab(74.20, -11.88, 68.59)
CIE-LCHlch(74.20, 69.61, 99.82°)
OKLaboklab(77.35% -0.0406 0.1486)
OKLCHoklch(77.35% 0.154 105.3)
XYZxyz(40.7087, 47.0084, 8.9363)
Luminance0.4701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BA28 #2832C4
analogous
#C46C28 #C4BA28 #80C428
triadic
#C4BA28 #28C4BA #BA28C4
tetradic
#C4BA28 #28C46C #2832C4 #C42880
square
#C4BA28 #28C46C #2832C4 #C42880
split-complementary
#C4BA28 #2880C4 #6C28C4
monochromatic
#5E5A13 #918A1E #C4BA28 #DBD24E #E5DF81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4BA28#FFFFFF#000000##000000
##C4BA281.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)
#CEB935
Tritanopia (blue-blind)
#D3AD9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c4ba28;
/* rgb */ color: rgb(196, 186, 40);
/* oklch */ color: oklch(77.3% 0.154 105.3);
Tailwind
colors: {
  custom: {
    50: '#dace70',
    500: '#c4ba28',
    950: '#000000',
  },
}
SCSS
$custom: #c4ba28;
$custom-light: #dace70;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ba28",
  "rgb": {
    "r": 196,
    "g": 186,
    "b": 40
  },
  "hsl": {
    "h": 56.154,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.77348,
    "c": 0.15404,
    "h": 105.3
  },
  "luminance": 0.47007
}

Semantic roles & 50–950 ramp

primary
#C4BA28
secondary
#7A7FCE
accent
#4AE93F
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C4BA28

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

Preview Lab → · Contrast checker → · Palette generator →

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