#C4B84B#C4B84B

#C4B84B is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.2% C 0.130 H 103.0°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#C4B84B
RGBrgb(196, 184, 75)
HSLhsl(54, 51%, 53%)
HSVhsv(54, 62%, 77%)
CMYKcmyk(0%, 6.1%, 61.7%, 23.1%)
CIE-LABlab(73.89, -9.10, 55.33)
CIE-LCHlch(73.89, 56.07, 99.34°)
OKLaboklab(77.18% -0.0293 0.1265)
OKLCHoklch(77.18% 0.13 103)
XYZxyz(41.1770, 46.5263, 13.4667)
Luminance0.4652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B84B #4B57C4
analogous
#C47C4B #C4B84B #93C44B
triadic
#C4B84B #4BC4B8 #B84BC4
tetradic
#C4B84B #4BC47C #4B57C4 #C44B93
square
#C4B84B #4BC47C #4B57C4 #C44B93
split-complementary
#C4B84B #4B93C4 #7C4BC4
monochromatic
#706825 #9E9334 #C4B84B #D3CA79 #E2DCA7

Accessibility & contrast

On white

2.04
#C4B84B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#C4B84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B84B
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B84B#FFFFFF#000000##000000
##C4B84B1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23E
Deuteranopia (green-blind)
#CBB851
Tritanopia (blue-blind)
#D2ACA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c4b84b;
/* rgb */ color: rgb(196, 184, 75);
/* oklch */ color: oklch(77.2% 0.130 103.0);
Tailwind
colors: {
  custom: {
    50: '#d9cd82',
    500: '#c4b84b',
    950: '#000000',
  },
}
SCSS
$custom: #c4b84b;
$custom-light: #d9cd82;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b84b",
  "rgb": {
    "r": 196,
    "g": 184,
    "b": 75
  },
  "hsl": {
    "h": 54.05,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77175,
    "c": 0.12985,
    "h": 103
  },
  "luminance": 0.46525
}

Semantic roles & 50–950 ramp

primary
#C4B84B
secondary
#9BA0CF
accent
#5CDA4E
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C4B84B

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

Preview Lab → · Contrast checker → · Palette generator →

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