#C4BA37#C4BA37

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

Color values

HEX#C4BA37
RGBrgb(196, 186, 55)
HSLhsl(56, 56%, 49%)
HSVhsv(56, 72%, 77%)
CMYKcmyk(0%, 5.1%, 71.9%, 23.1%)
CIE-LABlab(74.27, -11.27, 63.78)
CIE-LCHlch(74.27, 64.77, 100.02°)
OKLaboklab(77.44% -0.0376 0.1411)
OKLCHoklch(77.44% 0.146 104.9)
XYZxyz(41.0151, 47.1310, 10.5504)
Luminance0.4713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BA37 #3741C4
analogous
#C47437 #C4BA37 #88C437
triadic
#C4BA37 #37C4BA #BA37C4
tetradic
#C4BA37 #37C474 #3741C4 #C43788
square
#C4BA37 #37C474 #3741C4 #C43788
split-complementary
#C4BA37 #3788C4 #7437C4
monochromatic
#645F1C #948D2A #C4BA37 #D4CC65 #E1DC94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4BA37#FFFFFF#000000##000000
##C4BA371.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)
#CAB320
Deuteranopia (green-blind)
#CEB940
Tritanopia (blue-blind)
#D3ADA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c4ba37;
/* rgb */ color: rgb(196, 186, 55);
/* oklch */ color: oklch(77.4% 0.146 104.9);
Tailwind
colors: {
  custom: {
    50: '#dace77',
    500: '#c4ba37',
    950: '#000000',
  },
}
SCSS
$custom: #c4ba37;
$custom-light: #dace77;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ba37",
  "rgb": {
    "r": 196,
    "g": 186,
    "b": 55
  },
  "hsl": {
    "h": 55.745,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77436,
    "c": 0.14604,
    "h": 104.9
  },
  "luminance": 0.47129
}

Semantic roles & 50–950 ramp

primary
#C4BA37
secondary
#8B8FCC
accent
#53DF48
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4BA37

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

Preview Lab → · Contrast checker → · Palette generator →

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