#C4B045#C4B045

#C4B045 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.4% C 0.128 H 98.7°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#C4B045
RGBrgb(196, 176, 69)
HSLhsl(51, 52%, 52%)
HSVhsv(51, 65%, 77%)
CMYKcmyk(0%, 10.2%, 64.8%, 23.1%)
CIE-LABlab(71.70, -5.32, 55.60)
CIE-LCHlch(71.70, 55.85, 95.47°)
OKLaboklab(75.43% -0.0192 0.1262)
OKLCHoklch(75.43% 0.128 98.7)
XYZxyz(39.3662, 43.2179, 11.8974)
Luminance0.4322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B045 #4559C4
analogous
#C47145 #C4B045 #99C445
triadic
#C4B045 #45C4B0 #B045C4
tetradic
#C4B045 #45C471 #4559C4 #C44599
square
#C4B045 #45C471 #4559C4 #C44599
split-complementary
#C4B045 #4599C4 #7145C4
monochromatic
#6C6122 #9B8A31 #C4B045 #D3C473 #E1D7A2

Accessibility & contrast

On white

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

On black

9.64
#C4B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B045
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B045#FFFFFF#000000##000000
##C4B0451.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC38
Deuteranopia (green-blind)
#C6B34B
Tritanopia (blue-blind)
#D3A49A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c4b045;
/* rgb */ color: rgb(196, 176, 69);
/* oklch */ color: oklch(75.4% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#d9c77e',
    500: '#c4b045',
    950: '#000000',
  },
}
SCSS
$custom: #c4b045;
$custom-light: #d9c77e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b045",
  "rgb": {
    "r": 196,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 50.551,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75426,
    "c": 0.12763,
    "h": 98.7
  },
  "luminance": 0.43216
}

Semantic roles & 50–950 ramp

primary
#C4B045
secondary
#979FCE
accent
#63DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B045

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

Preview Lab → · Contrast checker → · Palette generator →

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