#C4B23A#C4B23A

#C4B23A is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.8% C 0.137 H 100.6°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#C4B23A
RGBrgb(196, 178, 58)
HSLhsl(52, 54%, 50%)
HSVhsv(52, 70%, 77%)
CMYKcmyk(0%, 9.2%, 70.4%, 23.1%)
CIE-LABlab(72.15, -6.99, 60.58)
CIE-LCHlch(72.15, 60.98, 96.58°)
OKLaboklab(75.76% -0.0252 0.1349)
OKLCHoklch(75.76% 0.137 100.6)
XYZxyz(39.4509, 43.8838, 10.3946)
Luminance0.4388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B23A #3A4CC4
analogous
#C46D3A #C4B23A #91C43A
triadic
#C4B23A #3AC4B2 #B23AC4
tetradic
#C4B23A #3AC46D #3A4CC4 #C43A91
square
#C4B23A #3AC46D #3A4CC4 #C43A91
split-complementary
#C4B23A #3A91C4 #6D3AC4
monochromatic
#665C1E #95872C #C4B23A #D3C569 #E0D798

Accessibility & contrast

On white

2.15
#C4B23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#C4B23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B23A
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B23A#FFFFFF#000000##000000
##C4B23A1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD28
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#D3A59A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c4b23a;
/* rgb */ color: rgb(196, 178, 58);
/* oklch */ color: oklch(75.8% 0.137 100.6);
Tailwind
colors: {
  custom: {
    50: '#d9c878',
    500: '#c4b23a',
    950: '#000000',
  },
}
SCSS
$custom: #c4b23a;
$custom-light: #d9c878;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b23a",
  "rgb": {
    "r": 196,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 52.174,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75755,
    "c": 0.13721,
    "h": 100.6
  },
  "luminance": 0.43882
}

Semantic roles & 50–950 ramp

primary
#C4B23A
secondary
#8E96CC
accent
#5DDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B23A

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

Preview Lab → · Contrast checker → · Palette generator →

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