#C7B64A#C7B64A

#C7B64A is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.0% C 0.129 H 100.4°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#C7B64A
RGBrgb(199, 182, 74)
HSLhsl(52, 53%, 54%)
HSVhsv(52, 63%, 78%)
CMYKcmyk(0%, 8.5%, 62.8%, 22%)
CIE-LABlab(73.61, -6.86, 55.54)
CIE-LCHlch(73.61, 55.96, 97.04°)
OKLaboklab(77.01% -0.0232 0.1267)
OKLCHoklch(77.01% 0.129 100.4)
XYZxyz(41.5188, 46.0942, 13.1873)
Luminance0.4609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B64A #4A5BC7
analogous
#C7774A #C7B64A #99C74A
triadic
#C7B64A #4AC7B6 #B64AC7
tetradic
#C7B64A #4AC777 #4A5BC7 #C74A99
square
#C7B64A #4AC777 #4A5BC7 #C74A99
split-complementary
#C7B64A #4A99C7 #774AC7
monochromatic
#736824 #A29332 #C7B64A #D5C979 #E4DCA7

Accessibility & contrast

On white

2.06
#C7B64A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#C7B64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B64A
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B64A#FFFFFF#000000##000000
##C7B64A1.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13D
Deuteranopia (green-blind)
#CBB850
Tritanopia (blue-blind)
#D6AA9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c7b64a;
/* rgb */ color: rgb(199, 182, 74);
/* oklch */ color: oklch(77.0% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#dbcb81',
    500: '#c7b64a',
    950: '#000000',
  },
}
SCSS
$custom: #c7b64a;
$custom-light: #dbcb81;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b64a",
  "rgb": {
    "r": 199,
    "g": 182,
    "b": 74
  },
  "hsl": {
    "h": 51.84,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77013,
    "c": 0.12883,
    "h": 100.4
  },
  "luminance": 0.46092
}

Semantic roles & 50–950 ramp

primary
#C7B64A
secondary
#9CA3D1
accent
#5FDC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7B64A

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

Preview Lab → · Contrast checker → · Palette generator →

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