#C4BA39#C4BA39

#C4BA39 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.5% C 0.145 H 104.9°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#C4BA39
RGBrgb(196, 186, 57)
HSLhsl(56, 55%, 50%)
HSVhsv(56, 71%, 77%)
CMYKcmyk(0%, 5.1%, 70.9%, 23.1%)
CIE-LABlab(74.29, -11.18, 63.06)
CIE-LCHlch(74.29, 64.05, 100.05°)
OKLaboklab(77.45% -0.0371 0.14)
OKLCHoklch(77.45% 0.145 104.9)
XYZxyz(41.0641, 47.1506, 10.8080)
Luminance0.4715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BA39 #3943C4
analogous
#C47439 #C4BA39 #89C439
triadic
#C4BA39 #39C4BA #BA39C4
tetradic
#C4BA39 #39C474 #3943C4 #C43989
square
#C4BA39 #39C474 #3943C4 #C43989
split-complementary
#C4BA39 #3989C4 #7439C4
monochromatic
#65601D #958D2B #C4BA39 #D3CB67 #E1DB97

Accessibility & contrast

On white

2.01
#C4BA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#C4BA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BA39
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BA39#FFFFFF#000000##000000
##C4BA391.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB324
Deuteranopia (green-blind)
#CEB942
Tritanopia (blue-blind)
#D3ADA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c4ba39;
/* rgb */ color: rgb(196, 186, 57);
/* oklch */ color: oklch(77.5% 0.145 104.9);
Tailwind
colors: {
  custom: {
    50: '#d9ce78',
    500: '#c4ba39',
    950: '#000000',
  },
}
SCSS
$custom: #c4ba39;
$custom-light: #d9ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ba39",
  "rgb": {
    "r": 196,
    "g": 186,
    "b": 57
  },
  "hsl": {
    "h": 55.683,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7745,
    "c": 0.14479,
    "h": 104.9
  },
  "luminance": 0.47149
}

Semantic roles & 50–950 ramp

primary
#C4BA39
secondary
#8D91CC
accent
#54DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4BA39

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

Preview Lab → · Contrast checker → · Palette generator →

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