#C4BA26#C4BA26

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

Color values

HEX#C4BA26
RGBrgb(196, 186, 38)
HSLhsl(56, 68%, 46%)
HSVhsv(56, 81%, 77%)
CMYKcmyk(0%, 5.1%, 80.6%, 23.1%)
CIE-LABlab(74.19, -11.94, 69.15)
CIE-LCHlch(74.19, 70.17, 99.80°)
OKLaboklab(77.34% -0.041 0.1494)
OKLCHoklch(77.34% 0.155 105.3)
XYZxyz(40.6755, 46.9951, 8.7617)
Luminance0.4699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BA26 #2630C4
analogous
#C46B26 #C4BA26 #7FC426
triadic
#C4BA26 #26C4BA #BA26C4
tetradic
#C4BA26 #26C46B #2630C4 #C4267F
square
#C4BA26 #26C46B #2630C4 #C4267F
split-complementary
#C4BA26 #267FC4 #6B26C4
monochromatic
#5D5912 #91891C #C4BA26 #DCD34B #E6DF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #c4ba26;
/* rgb */ color: rgb(196, 186, 38);
/* oklch */ color: oklch(77.3% 0.155 105.3);
Tailwind
colors: {
  custom: {
    50: '#dace6f',
    500: '#c4ba26',
    950: '#000000',
  },
}
SCSS
$custom: #c4ba26;
$custom-light: #dace6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ba26",
  "rgb": {
    "r": 196,
    "g": 186,
    "b": 38
  },
  "hsl": {
    "h": 56.203,
    "s": 67.521,
    "l": 45.882
  },
  "oklch": {
    "l": 0.77339,
    "c": 0.15492,
    "h": 105.3
  },
  "luminance": 0.46994
}

Semantic roles & 50–950 ramp

primary
#C4BA26
secondary
#777DCE
accent
#48EA3D
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#151308
muted
#84827B

Preview Lab

Preview with #C4BA26

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

Preview Lab → · Contrast checker → · Palette generator →

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