#C4B645#C4B645

#C4B645 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.7% C 0.133 H 102.2°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#C4B645
RGBrgb(196, 182, 69)
HSLhsl(53, 52%, 52%)
HSVhsv(53, 65%, 77%)
CMYKcmyk(0%, 7.1%, 64.8%, 23.1%)
CIE-LABlab(73.30, -8.45, 57.29)
CIE-LCHlch(73.30, 57.91, 98.39°)
OKLaboklab(76.69% -0.0281 0.1298)
OKLCHoklch(76.69% 0.133 102.2)
XYZxyz(40.5687, 45.6230, 12.2982)
Luminance0.4562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B645 #4553C4
analogous
#C47745 #C4B645 #93C445
triadic
#C4B645 #45C4B6 #B645C4
tetradic
#C4B645 #45C477 #4553C4 #C44593
square
#C4B645 #45C477 #4553C4 #C44593
split-complementary
#C4B645 #4593C4 #7745C4
monochromatic
#6C6422 #9B8F31 #C4B645 #D3C873 #E1DAA2

Accessibility & contrast

On white

2.07
#C4B645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#C4B645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B645
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B645#FFFFFF#000000##000000
##C4B6451.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B137
Deuteranopia (green-blind)
#CAB74B
Tritanopia (blue-blind)
#D2AA9E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c4b645;
/* rgb */ color: rgb(196, 182, 69);
/* oklch */ color: oklch(76.7% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#d9cb7e',
    500: '#c4b645',
    950: '#000000',
  },
}
SCSS
$custom: #c4b645;
$custom-light: #d9cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b645",
  "rgb": {
    "r": 196,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 53.386,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76693,
    "c": 0.13277,
    "h": 102.2
  },
  "luminance": 0.45621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4B645

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

Preview Lab → · Contrast checker → · Palette generator →

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