#C4BA33#C4BA33

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

Color values

HEX#C4BA33
RGBrgb(196, 186, 51)
HSLhsl(56, 59%, 48%)
HSVhsv(56, 74%, 77%)
CMYKcmyk(0%, 5.1%, 74%, 23.1%)
CIE-LABlab(74.25, -11.45, 65.17)
CIE-LCHlch(74.25, 66.17, 99.97°)
OKLaboklab(77.41% -0.0385 0.1433)
OKLCHoklch(77.41% 0.148 105)
XYZxyz(40.9231, 47.0942, 10.0658)
Luminance0.4709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BA33 #333DC4
analogous
#C47133 #C4BA33 #85C433
triadic
#C4BA33 #33C4BA #BA33C4
tetradic
#C4BA33 #33C471 #333DC4 #C43385
square
#C4BA33 #33C471 #333DC4 #C43385
split-complementary
#C4BA33 #3385C4 #7133C4
monochromatic
#635E1A #938C26 #C4BA33 #D5CD5F #E2DC8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4BA33#FFFFFF#000000##000000
##C4BA331.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)
#CBB318
Deuteranopia (green-blind)
#CEB93D
Tritanopia (blue-blind)
#D3ADA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c4ba33;
/* rgb */ color: rgb(196, 186, 51);
/* oklch */ color: oklch(77.4% 0.148 105.0);
Tailwind
colors: {
  custom: {
    50: '#dace75',
    500: '#c4ba33',
    950: '#000000',
  },
}
SCSS
$custom: #c4ba33;
$custom-light: #dace75;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ba33",
  "rgb": {
    "r": 196,
    "g": 186,
    "b": 51
  },
  "hsl": {
    "h": 55.862,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77409,
    "c": 0.14841,
    "h": 105
  },
  "luminance": 0.47093
}

Semantic roles & 50–950 ramp

primary
#C4BA33
secondary
#868BCD
accent
#51E246
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C4BA33

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

Preview Lab → · Contrast checker → · Palette generator →

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