#C4B440#C4B440

#C4B440 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.2% C 0.135 H 101.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#C4B440
RGBrgb(196, 180, 64)
HSLhsl(53, 53%, 51%)
HSVhsv(53, 67%, 77%)
CMYKcmyk(0%, 8.2%, 67.3%, 23.1%)
CIE-LABlab(72.73, -7.71, 58.77)
CIE-LCHlch(72.73, 59.27, 97.47°)
OKLaboklab(76.23% -0.0266 0.1321)
OKLCHoklch(76.23% 0.135 101.4)
XYZxyz(40.0133, 44.7502, 11.3795)
Luminance0.4475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B440 #4050C4
analogous
#C47240 #C4B440 #92C440
triadic
#C4B440 #40C4B4 #B440C4
tetradic
#C4B440 #40C472 #4050C4 #C44092
square
#C4B440 #40C472 #4050C4 #C44092
split-complementary
#C4B440 #4092C4 #7240C4
monochromatic
#696020 #988B2F #C4B440 #D2C66F #E1D99E

Accessibility & contrast

On white

2.11
#C4B440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#C4B440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B440
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B440#FFFFFF#000000##000000
##C4B4401.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF30
Deuteranopia (green-blind)
#C9B547
Tritanopia (blue-blind)
#D3A89C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c4b440;
/* rgb */ color: rgb(196, 180, 64);
/* oklch */ color: oklch(76.2% 0.135 101.4);
Tailwind
colors: {
  custom: {
    50: '#d9ca7b',
    500: '#c4b440',
    950: '#000000',
  },
}
SCSS
$custom: #c4b440;
$custom-light: #d9ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b440",
  "rgb": {
    "r": 196,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 52.727,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76226,
    "c": 0.13475,
    "h": 101.4
  },
  "luminance": 0.44748
}

Semantic roles & 50–950 ramp

primary
#C4B440
secondary
#939ACD
accent
#5DDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B440

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

Preview Lab → · Contrast checker → · Palette generator →

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