#C4B451#C4B451

#C4B451 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.4% C 0.121 H 100.2°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#C4B451
RGBrgb(196, 180, 81)
HSLhsl(52, 49%, 54%)
HSVhsv(52, 59%, 77%)
CMYKcmyk(0%, 8.2%, 58.7%, 23.1%)
CIE-LABlab(72.87, -6.61, 51.51)
CIE-LCHlch(72.87, 51.93, 97.31°)
OKLaboklab(76.39% -0.0215 0.1192)
OKLCHoklch(76.39% 0.121 100.2)
XYZxyz(40.5729, 44.9740, 14.3267)
Luminance0.4497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B451 #5161C4
analogous
#C47B51 #C4B451 #9BC451
triadic
#C4B451 #51C4B4 #B451C4
tetradic
#C4B451 #51C47B #5161C4 #C4519B
square
#C4B451 #51C47B #5161C4 #C4519B
split-complementary
#C4B451 #519BC4 #7B51C4
monochromatic
#736927 #A19237 #C4B451 #D3C87F #E3DBAC

Accessibility & contrast

On white

2.10
#C4B451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#C4B451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B451
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B451#FFFFFF#000000##000000
##C4B4511.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF47
Deuteranopia (green-blind)
#C8B656
Tritanopia (blue-blind)
#D2A89E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c4b451;
/* rgb */ color: rgb(196, 180, 81);
/* oklch */ color: oklch(76.4% 0.121 100.2);
Tailwind
colors: {
  custom: {
    50: '#d8ca85',
    500: '#c4b451',
    950: '#000000',
  },
}
SCSS
$custom: #c4b451;
$custom-light: #d8ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b451",
  "rgb": {
    "r": 196,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 51.652,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.7639,
    "c": 0.12107,
    "h": 100.2
  },
  "luminance": 0.44972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4B451

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

Preview Lab → · Contrast checker → · Palette generator →

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