#C4B351#C4B351

#C4B351 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.2% C 0.120 H 99.6°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#C4B351
RGBrgb(196, 179, 81)
HSLhsl(51, 49%, 54%)
HSVhsv(51, 59%, 77%)
CMYKcmyk(0%, 8.7%, 58.7%, 23.1%)
CIE-LABlab(72.61, -6.08, 51.21)
CIE-LCHlch(72.61, 51.57, 96.77°)
OKLaboklab(76.18% -0.02 0.1185)
OKLCHoklch(76.18% 0.12 99.6)
XYZxyz(40.3718, 44.5717, 14.2596)
Luminance0.4457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B351 #5162C4
analogous
#C47A51 #C4B351 #9CC451
triadic
#C4B351 #51C4B3 #B351C4
tetradic
#C4B351 #51C47A #5162C4 #C4519C
square
#C4B351 #51C47A #5162C4 #C4519C
split-complementary
#C4B351 #519CC4 #7A51C4
monochromatic
#736827 #A19137 #C4B351 #D3C77F #E3DBAC

Accessibility & contrast

On white

2.12
#C4B351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#C4B351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B351
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B351#FFFFFF#000000##000000
##C4B3511.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE47
Deuteranopia (green-blind)
#C7B556
Tritanopia (blue-blind)
#D2A79D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c4b351;
/* rgb */ color: rgb(196, 179, 81);
/* oklch */ color: oklch(76.2% 0.120 99.6);
Tailwind
colors: {
  custom: {
    50: '#d8c985',
    500: '#c4b351',
    950: '#000000',
  },
}
SCSS
$custom: #c4b351;
$custom-light: #d8c985;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b351",
  "rgb": {
    "r": 196,
    "g": 179,
    "b": 81
  },
  "hsl": {
    "h": 51.13,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.7618,
    "c": 0.12018,
    "h": 99.6
  },
  "luminance": 0.4457
}

Semantic roles & 50–950 ramp

primary
#C4B351
secondary
#A0A7D1
accent
#63D94F
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C4B351

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

Preview Lab → · Contrast checker → · Palette generator →

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