#C4B545#C4B545

#C4B545 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.5% C 0.132 H 101.7°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#C4B545
RGBrgb(196, 181, 69)
HSLhsl(53, 52%, 52%)
HSVhsv(53, 65%, 77%)
CMYKcmyk(0%, 7.7%, 64.8%, 23.1%)
CIE-LABlab(73.03, -7.93, 57.01)
CIE-LCHlch(73.03, 57.56, 97.92°)
OKLaboklab(76.48% -0.0266 0.1292)
OKLCHoklch(76.48% 0.132 101.7)
XYZxyz(40.3646, 45.2148, 12.2302)
Luminance0.4521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B545 #4554C4
analogous
#C47545 #C4B545 #94C445
triadic
#C4B545 #45C4B5 #B545C4
tetradic
#C4B545 #45C475 #4554C4 #C44594
square
#C4B545 #45C475 #4554C4 #C44594
split-complementary
#C4B545 #4594C4 #7545C4
monochromatic
#6C6422 #9B8E31 #C4B545 #D3C773 #E1DAA2

Accessibility & contrast

On white

2.09
#C4B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#C4B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B545
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B545#FFFFFF#000000##000000
##C4B5451.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B037
Deuteranopia (green-blind)
#C9B64B
Tritanopia (blue-blind)
#D2A99E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c4b545;
/* rgb */ color: rgb(196, 181, 69);
/* oklch */ color: oklch(76.5% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#d9ca7e',
    500: '#c4b545',
    950: '#000000',
  },
}
SCSS
$custom: #c4b545;
$custom-light: #d9ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b545",
  "rgb": {
    "r": 196,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 52.913,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76481,
    "c": 0.13189,
    "h": 101.7
  },
  "luminance": 0.45213
}

Semantic roles & 50–950 ramp

primary
#C4B545
secondary
#979DCE
accent
#5DDB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B545

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

Preview Lab → · Contrast checker → · Palette generator →

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