#C4B340#C4B340

#C4B340 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.0% C 0.134 H 100.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#C4B340
RGBrgb(196, 179, 64)
HSLhsl(52, 53%, 51%)
HSVhsv(52, 67%, 77%)
CMYKcmyk(0%, 8.7%, 67.3%, 23.1%)
CIE-LABlab(72.46, -7.19, 58.50)
CIE-LCHlch(72.46, 58.94, 97.01°)
OKLaboklab(76.01% -0.0251 0.1315)
OKLCHoklch(76.01% 0.134 100.8)
XYZxyz(39.8122, 44.3479, 11.3124)
Luminance0.4435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B340 #4051C4
analogous
#C47140 #C4B340 #93C440
triadic
#C4B340 #40C4B3 #B340C4
tetradic
#C4B340 #40C471 #4051C4 #C44093
square
#C4B340 #40C471 #4051C4 #C44093
split-complementary
#C4B340 #4093C4 #7140C4
monochromatic
#696020 #988A2F #C4B340 #D2C66F #E1D89E

Accessibility & contrast

On white

2.13
#C4B340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#C4B340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B340
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B340#FFFFFF#000000##000000
##C4B3401.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE30
Deuteranopia (green-blind)
#C8B547
Tritanopia (blue-blind)
#D3A79B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c4b340;
/* rgb */ color: rgb(196, 179, 64);
/* oklch */ color: oklch(76.0% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#d9c97b',
    500: '#c4b340',
    950: '#000000',
  },
}
SCSS
$custom: #c4b340;
$custom-light: #d9c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b340",
  "rgb": {
    "r": 196,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 52.273,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76014,
    "c": 0.13389,
    "h": 100.8
  },
  "luminance": 0.44346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4B340

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

Preview Lab → · Contrast checker → · Palette generator →

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