#C4B145#C4B145

#C4B145 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.6% C 0.128 H 99.3°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#C4B145
RGBrgb(196, 177, 69)
HSLhsl(51, 52%, 52%)
HSVhsv(51, 65%, 77%)
CMYKcmyk(0%, 9.7%, 64.8%, 23.1%)
CIE-LABlab(71.97, -5.85, 55.88)
CIE-LCHlch(71.97, 56.18, 95.97°)
OKLaboklab(75.64% -0.0207 0.1268)
OKLCHoklch(75.64% 0.128 99.3)
XYZxyz(39.5630, 43.6115, 11.9630)
Luminance0.4361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B145 #4558C4
analogous
#C47245 #C4B145 #97C445
triadic
#C4B145 #45C4B1 #B145C4
tetradic
#C4B145 #45C472 #4558C4 #C44597
square
#C4B145 #45C472 #4558C4 #C44597
split-complementary
#C4B145 #4597C4 #7245C4
monochromatic
#6C6122 #9B8B31 #C4B145 #D3C473 #E1D8A2

Accessibility & contrast

On white

2.16
#C4B145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#C4B145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B145
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B145#FFFFFF#000000##000000
##C4B1451.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC38
Deuteranopia (green-blind)
#C6B34B
Tritanopia (blue-blind)
#D3A59A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c4b145;
/* rgb */ color: rgb(196, 177, 69);
/* oklch */ color: oklch(75.6% 0.128 99.3);
Tailwind
colors: {
  custom: {
    50: '#d9c87e',
    500: '#c4b145',
    950: '#000000',
  },
}
SCSS
$custom: #c4b145;
$custom-light: #d9c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b145",
  "rgb": {
    "r": 196,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 51.024,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75636,
    "c": 0.12846,
    "h": 99.3
  },
  "luminance": 0.4361
}

Semantic roles & 50–950 ramp

primary
#C4B145
secondary
#979FCE
accent
#62DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B145

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

Preview Lab → · Contrast checker → · Palette generator →

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