#C4B840#C4B840

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

Color values

HEX#C4B840
RGBrgb(196, 184, 64)
HSLhsl(55, 53%, 51%)
HSVhsv(55, 67%, 77%)
CMYKcmyk(0%, 6.1%, 67.3%, 23.1%)
CIE-LABlab(73.80, -9.78, 59.87)
CIE-LCHlch(73.80, 60.66, 99.28°)
OKLaboklab(77.08% -0.0324 0.1344)
OKLCHoklch(77.08% 0.138 103.6)
XYZxyz(40.8325, 46.3885, 11.6525)
Luminance0.4639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B840 #404CC4
analogous
#C47640 #C4B840 #8EC440
triadic
#C4B840 #40C4B8 #B840C4
tetradic
#C4B840 #40C476 #404CC4 #C4408E
square
#C4B840 #40C476 #404CC4 #C4408E
split-complementary
#C4B840 #408EC4 #7640C4
monochromatic
#696320 #988E2F #C4B840 #D2C96F #E1DB9E

Accessibility & contrast

On white

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

On black

10.28
#C4B840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B840
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B840#FFFFFF#000000##000000
##C4B8401.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4b840;
/* rgb */ color: rgb(196, 184, 64);
/* oklch */ color: oklch(77.1% 0.138 103.6);
Tailwind
colors: {
  custom: {
    50: '#d9cd7b',
    500: '#c4b840',
    950: '#000000',
  },
}
SCSS
$custom: #c4b840;
$custom-light: #d9cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b840",
  "rgb": {
    "r": 196,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 54.545,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77076,
    "c": 0.13827,
    "h": 103.6
  },
  "luminance": 0.46387
}

Semantic roles & 50–950 ramp

primary
#C4B840
secondary
#9398CD
accent
#59DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B840

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

Preview Lab → · Contrast checker → · Palette generator →

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