#C4B248#C4B248

#C4B248 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.9% C 0.127 H 99.7°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#C4B248
RGBrgb(196, 178, 72)
HSLhsl(51, 51%, 53%)
HSVhsv(51, 63%, 77%)
CMYKcmyk(0%, 9.2%, 63.3%, 23.1%)
CIE-LABlab(72.26, -6.18, 54.89)
CIE-LCHlch(72.26, 55.23, 96.43°)
OKLaboklab(75.88% -0.0213 0.1251)
OKLCHoklch(75.88% 0.127 99.7)
XYZxyz(39.8567, 44.0462, 12.5320)
Luminance0.4404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B248 #485AC4
analogous
#C47448 #C4B248 #98C448
triadic
#C4B248 #48C4B2 #B248C4
tetradic
#C4B248 #48C474 #485AC4 #C44898
square
#C4B248 #48C474 #485AC4 #C44898
split-complementary
#C4B248 #4898C4 #7448C4
monochromatic
#6E6323 #9C8D32 #C4B248 #D3C576 #E2D9A5

Accessibility & contrast

On white

2.14
#C4B248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#C4B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B248
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B248#FFFFFF#000000##000000
##C4B2481.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD3C
Deuteranopia (green-blind)
#C7B44E
Tritanopia (blue-blind)
#D2A69B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c4b248;
/* rgb */ color: rgb(196, 178, 72);
/* oklch */ color: oklch(75.9% 0.127 99.7);
Tailwind
colors: {
  custom: {
    50: '#d9c880',
    500: '#c4b248',
    950: '#000000',
  },
}
SCSS
$custom: #c4b248;
$custom-light: #d9c880;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b248",
  "rgb": {
    "r": 196,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 51.29,
    "s": 51.24,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75875,
    "c": 0.12693,
    "h": 99.7
  },
  "luminance": 0.44044
}

Semantic roles & 50–950 ramp

primary
#C4B248
secondary
#99A1CF
accent
#62DB4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B248

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

Preview Lab → · Contrast checker → · Palette generator →

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