#C4B245#C4B245

#C4B245 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.8% C 0.129 H 99.9°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#C4B245
RGBrgb(196, 178, 69)
HSLhsl(51, 52%, 52%)
HSVhsv(51, 65%, 77%)
CMYKcmyk(0%, 9.2%, 64.8%, 23.1%)
CIE-LABlab(72.23, -6.37, 56.16)
CIE-LCHlch(72.23, 56.52, 96.47°)
OKLaboklab(75.85% -0.0222 0.1274)
OKLCHoklch(75.85% 0.129 99.9)
XYZxyz(39.7612, 44.0080, 12.0291)
Luminance0.4401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B245 #4557C4
analogous
#C47345 #C4B245 #97C445
triadic
#C4B245 #45C4B2 #B245C4
tetradic
#C4B245 #45C473 #4557C4 #C44597
square
#C4B245 #45C473 #4557C4 #C44597
split-complementary
#C4B245 #4597C4 #7345C4
monochromatic
#6C6222 #9B8C31 #C4B245 #D3C573 #E1D8A2

Accessibility & contrast

On white

2.14
#C4B245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#C4B245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B245
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B245#FFFFFF#000000##000000
##C4B2451.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD38
Deuteranopia (green-blind)
#C7B44B
Tritanopia (blue-blind)
#D3A69B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c4b245;
/* rgb */ color: rgb(196, 178, 69);
/* oklch */ color: oklch(75.8% 0.129 99.9);
Tailwind
colors: {
  custom: {
    50: '#d9c87e',
    500: '#c4b245',
    950: '#000000',
  },
}
SCSS
$custom: #c4b245;
$custom-light: #d9c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b245",
  "rgb": {
    "r": 196,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 51.496,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75847,
    "c": 0.1293,
    "h": 99.9
  },
  "luminance": 0.44006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4B245

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

Preview Lab → · Contrast checker → · Palette generator →

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