#C4BA4E#C4BA4E

#C4BA4E is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.6% C 0.129 H 104.0°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#C4BA4E
RGBrgb(196, 186, 78)
HSLhsl(55, 50%, 54%)
HSVhsv(55, 60%, 77%)
CMYKcmyk(0%, 5.1%, 60.2%, 23.1%)
CIE-LABlab(74.45, -9.93, 54.62)
CIE-LCHlch(74.45, 55.51, 100.31°)
OKLaboklab(77.63% -0.0313 0.1254)
OKLCHoklch(77.63% 0.129 104)
XYZxyz(41.7005, 47.4051, 14.1598)
Luminance0.4740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BA4E #4E58C4
analogous
#C47F4E #C4BA4E #93C44E
triadic
#C4BA4E #4EC4BA #BA4EC4
tetradic
#C4BA4E #4EC47F #4E58C4 #C44E93
square
#C4BA4E #4EC47F #4E58C4 #C44E93
split-complementary
#C4BA4E #4E93C4 #7F4EC4
monochromatic
#726B26 #A09735 #C4BA4E #D3CC7C #E3DEAA

Accessibility & contrast

On white

2.00
#C4BA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#C4BA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BA4E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BA4E#FFFFFF#000000##000000
##C4BA4E1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B442
Deuteranopia (green-blind)
#CDBA54
Tritanopia (blue-blind)
#D2AEA3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c4ba4e;
/* rgb */ color: rgb(196, 186, 78);
/* oklch */ color: oklch(77.6% 0.129 104.0);
Tailwind
colors: {
  custom: {
    50: '#d9ce84',
    500: '#c4ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #c4ba4e;
$custom-light: #d9ce84;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ba4e",
  "rgb": {
    "r": 196,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 54.915,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7763,
    "c": 0.12925,
    "h": 104
  },
  "luminance": 0.47404
}

Semantic roles & 50–950 ramp

primary
#C4BA4E
secondary
#9EA2D0
accent
#5ADA4E
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C4BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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