#C7B84A#C7B84A

#C7B84A is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.4% C 0.131 H 101.6°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#C7B84A
RGBrgb(199, 184, 74)
HSLhsl(53, 53%, 54%)
HSVhsv(53, 63%, 78%)
CMYKcmyk(0%, 7.5%, 62.8%, 22%)
CIE-LABlab(74.14, -7.90, 56.11)
CIE-LCHlch(74.14, 56.67, 98.01°)
OKLaboklab(77.44% -0.0262 0.1279)
OKLCHoklch(77.44% 0.131 101.6)
XYZxyz(41.9314, 46.9192, 13.3248)
Luminance0.4692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B84A #4A59C7
analogous
#C7794A #C7B84A #97C74A
triadic
#C7B84A #4AC7B8 #B84AC7
tetradic
#C7B84A #4AC779 #4A59C7 #C74A97
square
#C7B84A #4AC779 #4A59C7 #C74A97
split-complementary
#C7B84A #4A97C7 #794AC7
monochromatic
#736924 #A29432 #C7B84A #D5CA79 #E4DDA7

Accessibility & contrast

On white

2.02
#C7B84A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#C7B84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B84A
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B84A#FFFFFF#000000##000000
##C7B84A1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33D
Deuteranopia (green-blind)
#CCB950
Tritanopia (blue-blind)
#D5ACA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c7b84a;
/* rgb */ color: rgb(199, 184, 74);
/* oklch */ color: oklch(77.4% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#dbcd81',
    500: '#c7b84a',
    950: '#000000',
  },
}
SCSS
$custom: #c7b84a;
$custom-light: #dbcd81;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b84a",
  "rgb": {
    "r": 199,
    "g": 184,
    "b": 74
  },
  "hsl": {
    "h": 52.8,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77435,
    "c": 0.13059,
    "h": 101.6
  },
  "luminance": 0.46918
}

Semantic roles & 50–950 ramp

primary
#C7B84A
secondary
#9CA2D1
accent
#5DDC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7B84A

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

Preview Lab → · Contrast checker → · Palette generator →

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