#C4B548#C4B548

#C4B548 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.5% C 0.130 H 101.5°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#C4B548
RGBrgb(196, 181, 72)
HSLhsl(53, 51%, 53%)
HSVhsv(53, 63%, 77%)
CMYKcmyk(0%, 7.7%, 63.3%, 23.1%)
CIE-LABlab(73.06, -7.75, 55.74)
CIE-LCHlch(73.06, 56.28, 97.91°)
OKLaboklab(76.51% -0.0258 0.127)
OKLCHoklch(76.51% 0.13 101.5)
XYZxyz(40.4601, 45.2530, 12.7331)
Luminance0.4525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B548 #4857C4
analogous
#C47748 #C4B548 #95C448
triadic
#C4B548 #48C4B5 #B548C4
tetradic
#C4B548 #48C477 #4857C4 #C44895
square
#C4B548 #48C477 #4857C4 #C44895
split-complementary
#C4B548 #4895C4 #7748C4
monochromatic
#6E6523 #9C9032 #C4B548 #D3C876 #E2DAA5

Accessibility & contrast

On white

2.09
#C4B548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#C4B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B548
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B548#FFFFFF#000000##000000
##C4B5481.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03B
Deuteranopia (green-blind)
#C9B64E
Tritanopia (blue-blind)
#D2A99E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c4b548;
/* rgb */ color: rgb(196, 181, 72);
/* oklch */ color: oklch(76.5% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#d9ca80',
    500: '#c4b548',
    950: '#000000',
  },
}
SCSS
$custom: #c4b548;
$custom-light: #d9ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b548",
  "rgb": {
    "r": 196,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 52.742,
    "s": 51.24,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76509,
    "c": 0.12954,
    "h": 101.5
  },
  "luminance": 0.45251
}

Semantic roles & 50–950 ramp

primary
#C4B548
secondary
#999FCF
accent
#5EDB4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B548

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

Preview Lab → · Contrast checker → · Palette generator →

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