#C4B146#C4B146

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

Color values

HEX#C4B146
RGBrgb(196, 177, 70)
HSLhsl(51, 52%, 52%)
HSVhsv(51, 64%, 77%)
CMYKcmyk(0%, 9.7%, 64.3%, 23.1%)
CIE-LABlab(71.98, -5.79, 55.45)
CIE-LCHlch(71.98, 55.76, 95.96°)
OKLaboklab(75.65% -0.0204 0.126)
OKLCHoklch(75.65% 0.128 99.2)
XYZxyz(39.5943, 43.6240, 12.1279)
Luminance0.4362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B146 #4659C4
analogous
#C47246 #C4B146 #98C446
triadic
#C4B146 #46C4B1 #B146C4
tetradic
#C4B146 #46C472 #4659C4 #C44698
square
#C4B146 #46C472 #4659C4 #C44698
split-complementary
#C4B146 #4698C4 #7246C4
monochromatic
#6D6223 #9B8B32 #C4B146 #D3C574 #E2D8A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4B146#FFFFFF#000000##000000
##C4B1461.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)
#C1AC39
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#D3A59A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c4b146;
/* rgb */ color: rgb(196, 177, 70);
/* oklch */ color: oklch(75.6% 0.128 99.2);
Tailwind
colors: {
  custom: {
    50: '#d9c87e',
    500: '#c4b146',
    950: '#000000',
  },
}
SCSS
$custom: #c4b146;
$custom-light: #d9c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b146",
  "rgb": {
    "r": 196,
    "g": 177,
    "b": 70
  },
  "hsl": {
    "h": 50.952,
    "s": 51.639,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75646,
    "c": 0.12767,
    "h": 99.2
  },
  "luminance": 0.43622
}

Semantic roles & 50–950 ramp

primary
#C4B146
secondary
#97A0CE
accent
#62DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B146

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

Preview Lab → · Contrast checker → · Palette generator →

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