#C4B345#C4B345

#C4B345 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.1% C 0.130 H 100.5°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#C4B345
RGBrgb(196, 179, 69)
HSLhsl(52, 52%, 52%)
HSVhsv(52, 65%, 77%)
CMYKcmyk(0%, 8.7%, 64.8%, 23.1%)
CIE-LABlab(72.50, -6.89, 56.44)
CIE-LCHlch(72.50, 56.86, 96.96°)
OKLaboklab(76.06% -0.0237 0.128)
OKLCHoklch(76.06% 0.13 100.5)
XYZxyz(39.9609, 44.4074, 12.0956)
Luminance0.4441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B345 #4556C4
analogous
#C47445 #C4B345 #95C445
triadic
#C4B345 #45C4B3 #B345C4
tetradic
#C4B345 #45C474 #4556C4 #C44595
square
#C4B345 #45C474 #4556C4 #C44595
split-complementary
#C4B345 #4595C4 #7445C4
monochromatic
#6C6222 #9B8D31 #C4B345 #D3C673 #E1D9A2

Accessibility & contrast

On white

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

On black

9.88
#C4B345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B345
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B345#FFFFFF#000000##000000
##C4B3451.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE37
Deuteranopia (green-blind)
#C8B54B
Tritanopia (blue-blind)
#D2A79C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c4b345;
/* rgb */ color: rgb(196, 179, 69);
/* oklch */ color: oklch(76.1% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#d9c97e',
    500: '#c4b345',
    950: '#000000',
  },
}
SCSS
$custom: #c4b345;
$custom-light: #d9c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b345",
  "rgb": {
    "r": 196,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 51.969,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76058,
    "c": 0.13014,
    "h": 100.5
  },
  "luminance": 0.44406
}

Semantic roles & 50–950 ramp

primary
#C4B345
secondary
#979ECE
accent
#60DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B345

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

Preview Lab → · Contrast checker → · Palette generator →

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