#C4B72B#C4B72B

#C4B72B is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.7% C 0.150 H 103.8°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#C4B72B
RGBrgb(196, 183, 43)
HSLhsl(55, 64%, 47%)
HSVhsv(55, 78%, 77%)
CMYKcmyk(0%, 6.6%, 78.1%, 23.1%)
CIE-LABlab(73.40, -10.23, 67.00)
CIE-LCHlch(73.40, 67.77, 98.68°)
OKLaboklab(76.72% -0.0358 0.1457)
OKLCHoklch(76.72% 0.15 103.8)
XYZxyz(40.1363, 45.7789, 9.0071)
Luminance0.4578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B72B #2B38C4
analogous
#C46B2B #C4B72B #85C42B
triadic
#C4B72B #2BC4B7 #B72BC4
tetradic
#C4B72B #2BC46B #2B38C4 #C42B85
square
#C4B72B #2BC46B #2B38C4 #C42B85
split-complementary
#C4B72B #2B85C4 #6B2BC4
monochromatic
#605915 #928820 #C4B72B #D9CE53 #E4DC85

Accessibility & contrast

On white

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

On black

10.16
#C4B72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B72B
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B72B#FFFFFF#000000##000000
##C4B72B1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B102
Deuteranopia (green-blind)
#CCB736
Tritanopia (blue-blind)
#D3AA9D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c4b72b;
/* rgb */ color: rgb(196, 183, 43);
/* oklch */ color: oklch(76.7% 0.150 103.8);
Tailwind
colors: {
  custom: {
    50: '#dacc71',
    500: '#c4b72b',
    950: '#000000',
  },
}
SCSS
$custom: #c4b72b;
$custom-light: #dacc71;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b72b",
  "rgb": {
    "r": 196,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 54.902,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76721,
    "c": 0.15004,
    "h": 103.8
  },
  "luminance": 0.45777
}

Semantic roles & 50–950 ramp

primary
#C4B72B
secondary
#7D84CE
accent
#4FE741
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C4B72B

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

Preview Lab → · Contrast checker → · Palette generator →

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