#C4B954#C4B954

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

Color values

HEX#C4B954
RGBrgb(196, 185, 84)
HSLhsl(54, 49%, 55%)
HSVhsv(54, 57%, 77%)
CMYKcmyk(0%, 5.6%, 57.1%, 23.1%)
CIE-LABlab(74.24, -8.98, 51.66)
CIE-LCHlch(74.24, 52.44, 99.86°)
OKLaboklab(77.48% -0.0279 0.1198)
OKLCHoklch(77.48% 0.123 103.1)
XYZxyz(41.7155, 47.0753, 15.2748)
Luminance0.4707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B954 #545FC4
analogous
#C48154 #C4B954 #97C454
triadic
#C4B954 #54C4B9 #B954C4
tetradic
#C4B954 #54C481 #545FC4 #C45497
square
#C4B954 #54C481 #545FC4 #C45497
split-complementary
#C4B954 #5497C4 #8154C4
monochromatic
#756E28 #A39838 #C4B954 #D4CC82 #E3DEAF

Accessibility & contrast

On white

2.02
#C4B954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#C4B954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B954
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B954#FFFFFF#000000##000000
##C4B9541.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B34A
Deuteranopia (green-blind)
#CBB959
Tritanopia (blue-blind)
#D1AEA3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c4b954;
/* rgb */ color: rgb(196, 185, 84);
/* oklch */ color: oklch(77.5% 0.123 103.1);
Tailwind
colors: {
  custom: {
    50: '#d8cd87',
    500: '#c4b954',
    950: '#000000',
  },
}
SCSS
$custom: #c4b954;
$custom-light: #d8cd87;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b954",
  "rgb": {
    "r": 196,
    "g": 185,
    "b": 84
  },
  "hsl": {
    "h": 54.107,
    "s": 48.696,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77482,
    "c": 0.12305,
    "h": 103.1
  },
  "luminance": 0.47074
}

Semantic roles & 50–950 ramp

primary
#C4B954
secondary
#A2A7D1
accent
#5DD850
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C4B954

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

Preview Lab → · Contrast checker → · Palette generator →

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