#C4BA38#C4BA38

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

Color values

HEX#C4BA38
RGBrgb(196, 186, 56)
HSLhsl(56, 56%, 49%)
HSVhsv(56, 71%, 77%)
CMYKcmyk(0%, 5.1%, 71.4%, 23.1%)
CIE-LABlab(74.28, -11.22, 63.42)
CIE-LCHlch(74.28, 64.41, 100.04°)
OKLaboklab(77.44% -0.0374 0.1405)
OKLCHoklch(77.44% 0.145 104.9)
XYZxyz(41.0394, 47.1407, 10.6779)
Luminance0.4714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BA38 #3842C4
analogous
#C47438 #C4BA38 #88C438
triadic
#C4BA38 #38C4BA #BA38C4
tetradic
#C4BA38 #38C474 #3842C4 #C43888
square
#C4BA38 #38C474 #3842C4 #C43888
split-complementary
#C4BA38 #3888C4 #7438C4
monochromatic
#65601D #948D2A #C4BA38 #D3CB66 #E1DB96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4BA38#FFFFFF#000000##000000
##C4BA381.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)
#CAB322
Deuteranopia (green-blind)
#CEB941
Tritanopia (blue-blind)
#D3ADA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c4ba38;
/* rgb */ color: rgb(196, 186, 56);
/* oklch */ color: oklch(77.4% 0.145 104.9);
Tailwind
colors: {
  custom: {
    50: '#d9ce77',
    500: '#c4ba38',
    950: '#000000',
  },
}
SCSS
$custom: #c4ba38;
$custom-light: #d9ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ba38",
  "rgb": {
    "r": 196,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 55.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.77442,
    "c": 0.14542,
    "h": 104.9
  },
  "luminance": 0.47139
}

Semantic roles & 50–950 ramp

primary
#C4BA38
secondary
#8C90CC
accent
#54DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4BA38

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

Preview Lab → · Contrast checker → · Palette generator →

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