#C4B845#C4B845

#C4B845 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.1% C 0.135 H 103.3°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#C4B845
RGBrgb(196, 184, 69)
HSLhsl(54, 52%, 52%)
HSVhsv(54, 65%, 77%)
CMYKcmyk(0%, 6.1%, 64.8%, 23.1%)
CIE-LABlab(73.84, -9.49, 57.85)
CIE-LCHlch(73.84, 58.63, 99.31°)
OKLaboklab(77.12% -0.0311 0.131)
OKLCHoklch(77.12% 0.135 103.3)
XYZxyz(40.9812, 46.4480, 12.4357)
Luminance0.4645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B845 #4551C4
analogous
#C47945 #C4B845 #90C445
triadic
#C4B845 #45C4B8 #B845C4
tetradic
#C4B845 #45C479 #4551C4 #C44590
square
#C4B845 #45C479 #4551C4 #C44590
split-complementary
#C4B845 #4590C4 #7945C4
monochromatic
#6C6522 #9B9131 #C4B845 #D3CA73 #E1DBA2

Accessibility & contrast

On white

2.04
#C4B845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#C4B845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B845
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B845#FFFFFF#000000##000000
##C4B8451.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B236
Deuteranopia (green-blind)
#CCB84C
Tritanopia (blue-blind)
#D2ACA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c4b845;
/* rgb */ color: rgb(196, 184, 69);
/* oklch */ color: oklch(77.1% 0.135 103.3);
Tailwind
colors: {
  custom: {
    50: '#d9cd7e',
    500: '#c4b845',
    950: '#000000',
  },
}
SCSS
$custom: #c4b845;
$custom-light: #d9cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b845",
  "rgb": {
    "r": 196,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 54.331,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77119,
    "c": 0.1346,
    "h": 103.3
  },
  "luminance": 0.46446
}

Semantic roles & 50–950 ramp

primary
#C4B845
secondary
#979CCE
accent
#5ADB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B845

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

Preview Lab → · Contrast checker → · Palette generator →

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