#C4B72E#C4B72E

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

Color values

HEX#C4B72E
RGBrgb(196, 183, 46)
HSLhsl(55, 62%, 47%)
HSVhsv(55, 77%, 77%)
CMYKcmyk(0%, 6.6%, 76.5%, 23.1%)
CIE-LABlab(73.42, -10.12, 66.06)
CIE-LCHlch(73.42, 66.83, 98.71°)
OKLaboklab(76.74% -0.0352 0.1443)
OKLCHoklch(76.74% 0.149 103.7)
XYZxyz(40.1934, 45.8017, 9.3077)
Luminance0.4580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B72E #2E3BC4
analogous
#C46C2E #C4B72E #86C42E
triadic
#C4B72E #2EC4B7 #B72EC4
tetradic
#C4B72E #2EC46C #2E3BC4 #C42E86
square
#C4B72E #2EC46C #2E3BC4 #C42E86
split-complementary
#C4B72E #2E86C4 #6C2EC4
monochromatic
#615A17 #928922 #C4B72E #D8CD58 #E3DC89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4B72E#FFFFFF#000000##000000
##C4B72E1.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)
#C8B10C
Deuteranopia (green-blind)
#CCB739
Tritanopia (blue-blind)
#D3AA9D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c4b72e;
/* rgb */ color: rgb(196, 183, 46);
/* oklch */ color: oklch(76.7% 0.149 103.7);
Tailwind
colors: {
  custom: {
    50: '#dacc72',
    500: '#c4b72e',
    950: '#000000',
  },
}
SCSS
$custom: #c4b72e;
$custom-light: #dacc72;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b72e",
  "rgb": {
    "r": 196,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 54.8,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.76738,
    "c": 0.14852,
    "h": 103.7
  },
  "luminance": 0.458
}

Semantic roles & 50–950 ramp

primary
#C4B72E
secondary
#8187CD
accent
#51E543
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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