#C4B03F#C4B03F

#C4B03F is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.4% C 0.132 H 99.1°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#C4B03F
RGBrgb(196, 176, 63)
HSLhsl(51, 53%, 51%)
HSVhsv(51, 68%, 77%)
CMYKcmyk(0%, 10.2%, 67.9%, 23.1%)
CIE-LABlab(71.65, -5.68, 58.08)
CIE-LCHlch(71.65, 58.35, 95.58°)
OKLaboklab(75.37% -0.0209 0.1305)
OKLCHoklch(75.37% 0.132 99.1)
XYZxyz(39.1893, 43.1471, 10.9657)
Luminance0.4315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B03F #3F53C4
analogous
#C46D3F #C4B03F #96C43F
triadic
#C4B03F #3FC4B0 #B03FC4
tetradic
#C4B03F #3FC46D #3F53C4 #C43F96
square
#C4B03F #3FC46D #3F53C4 #C43F96
split-complementary
#C4B03F #3F96C4 #6D3FC4
monochromatic
#685E20 #97882E #C4B03F #D2C36E #E1D79D

Accessibility & contrast

On white

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

On black

9.63
#C4B03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B03F
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B03F#FFFFFF#000000##000000
##C4B03F1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB30
Deuteranopia (green-blind)
#C6B345
Tritanopia (blue-blind)
#D3A399
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c4b03f;
/* rgb */ color: rgb(196, 176, 63);
/* oklch */ color: oklch(75.4% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#d9c77a',
    500: '#c4b03f',
    950: '#000000',
  },
}
SCSS
$custom: #c4b03f;
$custom-light: #d9c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b03f",
  "rgb": {
    "r": 196,
    "g": 176,
    "b": 63
  },
  "hsl": {
    "h": 50.977,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75373,
    "c": 0.13213,
    "h": 99.1
  },
  "luminance": 0.43145
}

Semantic roles & 50–950 ramp

primary
#C4B03F
secondary
#929BCD
accent
#61DC4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B03F

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

Preview Lab → · Contrast checker → · Palette generator →

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