#C4B03B#C4B03B

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

Color values

HEX#C4B03B
RGBrgb(196, 176, 59)
HSLhsl(51, 54%, 50%)
HSVhsv(51, 70%, 77%)
CMYKcmyk(0%, 10.2%, 69.9%, 23.1%)
CIE-LABlab(71.63, -5.89, 59.66)
CIE-LCHlch(71.63, 59.95, 95.64°)
OKLaboklab(75.34% -0.022 0.1331)
OKLCHoklch(75.34% 0.135 99.4)
XYZxyz(39.0815, 43.1040, 10.3982)
Luminance0.4310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B03B #3B4FC4
analogous
#C46C3B #C4B03B #93C43B
triadic
#C4B03B #3BC4B0 #B03BC4
tetradic
#C4B03B #3BC46C #3B4FC4 #C43B93
square
#C4B03B #3BC46C #3B4FC4 #C43B93
split-complementary
#C4B03B #3B93C4 #6C3BC4
monochromatic
#665C1F #95862D #C4B03B #D2C36A #E0D699

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4B03B#FFFFFF#000000##000000
##C4B03B1.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)
#C1AB2A
Deuteranopia (green-blind)
#C6B342
Tritanopia (blue-blind)
#D3A398
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c4b03b;
/* rgb */ color: rgb(196, 176, 59);
/* oklch */ color: oklch(75.3% 0.135 99.4);
Tailwind
colors: {
  custom: {
    50: '#d9c778',
    500: '#c4b03b',
    950: '#000000',
  },
}
SCSS
$custom: #c4b03b;
$custom-light: #d9c778;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b03b",
  "rgb": {
    "r": 196,
    "g": 176,
    "b": 59
  },
  "hsl": {
    "h": 51.241,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.7534,
    "c": 0.13492,
    "h": 99.4
  },
  "luminance": 0.43102
}

Semantic roles & 50–950 ramp

primary
#C4B03B
secondary
#8F98CC
accent
#60DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B03B

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

Preview Lab → · Contrast checker → · Palette generator →

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