#C4B43F#C4B43F

#C4B43F is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.2% C 0.135 H 101.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#C4B43F
RGBrgb(196, 180, 63)
HSLhsl(53, 53%, 51%)
HSVhsv(53, 68%, 77%)
CMYKcmyk(0%, 8.2%, 67.9%, 23.1%)
CIE-LABlab(72.72, -7.76, 59.17)
CIE-LCHlch(72.72, 59.68, 97.48°)
OKLaboklab(76.22% -0.0268 0.1328)
OKLCHoklch(76.22% 0.135 101.4)
XYZxyz(39.9851, 44.7389, 11.2309)
Luminance0.4474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B43F #3F4FC4
analogous
#C4713F #C4B43F #91C43F
triadic
#C4B43F #3FC4B4 #B43FC4
tetradic
#C4B43F #3FC471 #3F4FC4 #C43F91
square
#C4B43F #3FC471 #3F4FC4 #C43F91
split-complementary
#C4B43F #3F91C4 #713FC4
monochromatic
#686020 #978B2E #C4B43F #D2C66E #E1D99D

Accessibility & contrast

On white

2.11
#C4B43F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#C4B43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B43F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B43F#FFFFFF#000000##000000
##C4B43F1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF2F
Deuteranopia (green-blind)
#C9B546
Tritanopia (blue-blind)
#D3A79C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c4b43f;
/* rgb */ color: rgb(196, 180, 63);
/* oklch */ color: oklch(76.2% 0.135 101.4);
Tailwind
colors: {
  custom: {
    50: '#d9ca7a',
    500: '#c4b43f',
    950: '#000000',
  },
}
SCSS
$custom: #c4b43f;
$custom-light: #d9ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b43f",
  "rgb": {
    "r": 196,
    "g": 180,
    "b": 63
  },
  "hsl": {
    "h": 52.782,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76217,
    "c": 0.13546,
    "h": 101.4
  },
  "luminance": 0.44737
}

Semantic roles & 50–950 ramp

primary
#C4B43F
secondary
#9299CD
accent
#5DDC4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B43F

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

Preview Lab → · Contrast checker → · Palette generator →

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