#C4B03A#C4B03A

#C4B03A is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.3% C 0.136 H 99.4°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#C4B03A
RGBrgb(196, 176, 58)
HSLhsl(51, 54%, 50%)
HSVhsv(51, 70%, 77%)
CMYKcmyk(0%, 10.2%, 70.4%, 23.1%)
CIE-LABlab(71.62, -5.94, 60.05)
CIE-LCHlch(71.62, 60.34, 95.65°)
OKLaboklab(75.33% -0.0222 0.1338)
OKLCHoklch(75.33% 0.136 99.4)
XYZxyz(39.0558, 43.0938, 10.2629)
Luminance0.4309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B03A #3A4EC4
analogous
#C46B3A #C4B03A #93C43A
triadic
#C4B03A #3AC4B0 #B03AC4
tetradic
#C4B03A #3AC46B #3A4EC4 #C43A93
square
#C4B03A #3AC46B #3A4EC4 #C43A93
split-complementary
#C4B03A #3A93C4 #6B3AC4
monochromatic
#665B1E #95862C #C4B03A #D3C369 #E0D698

Accessibility & contrast

On white

2.18
#C4B03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#C4B03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B03A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B03A#FFFFFF#000000##000000
##C4B03A1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB28
Deuteranopia (green-blind)
#C6B341
Tritanopia (blue-blind)
#D3A398
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c4b03a;
/* rgb */ color: rgb(196, 176, 58);
/* oklch */ color: oklch(75.3% 0.136 99.4);
Tailwind
colors: {
  custom: {
    50: '#d9c777',
    500: '#c4b03a',
    950: '#000000',
  },
}
SCSS
$custom: #c4b03a;
$custom-light: #d9c777;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b03a",
  "rgb": {
    "r": 196,
    "g": 176,
    "b": 58
  },
  "hsl": {
    "h": 51.304,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75332,
    "c": 0.13559,
    "h": 99.4
  },
  "luminance": 0.43092
}

Semantic roles & 50–950 ramp

primary
#C4B03A
secondary
#8E97CC
accent
#5FDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B03A

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

Preview Lab → · Contrast checker → · Palette generator →

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