#C4B258#C4B258

#C4B258 is a light, moderate yellow. Relative luminance 0.443; OKLCH L 76.1% C 0.113 H 98.2°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#C4B258
RGBrgb(196, 178, 88)
HSLhsl(50, 48%, 56%)
HSVhsv(50, 55%, 77%)
CMYKcmyk(0%, 9.2%, 55.1%, 23.1%)
CIE-LABlab(72.42, -5.02, 47.68)
CIE-LCHlch(72.42, 47.95, 96.01°)
OKLaboklab(76.05% -0.0161 0.1117)
OKLCHoklch(76.05% 0.113 98.2)
XYZxyz(40.4482, 44.2828, 15.6475)
Luminance0.4428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B258 #586AC4
analogous
#C47C58 #C4B258 #A0C458
triadic
#C4B258 #58C4B2 #B258C4
tetradic
#C4B258 #58C47C #586AC4 #C458A0
square
#C4B258 #58C47C #586AC4 #C458A0
split-complementary
#C4B258 #58A0C4 #7C58C4
monochromatic
#776B2A #A5933A #C4B258 #D4C785 #E4DCB2

Accessibility & contrast

On white

2.13
#C4B258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#C4B258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B258
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B258#FFFFFF#000000##000000
##C4B2581.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE4F
Deuteranopia (green-blind)
#C6B45C
Tritanopia (blue-blind)
#D2A79E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c4b258;
/* rgb */ color: rgb(196, 178, 88);
/* oklch */ color: oklch(76.1% 0.113 98.2);
Tailwind
colors: {
  custom: {
    50: '#d8c88a',
    500: '#c4b258',
    950: '#000000',
  },
}
SCSS
$custom: #c4b258;
$custom-light: #d8c88a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b258",
  "rgb": {
    "r": 196,
    "g": 178,
    "b": 88
  },
  "hsl": {
    "h": 50,
    "s": 47.788,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76051,
    "c": 0.11287,
    "h": 98.2
  },
  "luminance": 0.44281
}

Semantic roles & 50–950 ramp

primary
#C4B258
secondary
#A5ADD2
accent
#67D750
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C4B258

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

Preview Lab → · Contrast checker → · Palette generator →

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