#C7AE41#C7AE41

#C7AE41 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.3% C 0.129 H 96.1°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#C7AE41
RGBrgb(199, 174, 65)
HSLhsl(49, 54%, 52%)
HSVhsv(49, 67%, 78%)
CMYKcmyk(0%, 12.6%, 67.3%, 22%)
CIE-LABlab(71.42, -3.22, 57.09)
CIE-LCHlch(71.42, 57.18, 93.22°)
OKLaboklab(75.26% -0.0138 0.1286)
OKLCHoklch(75.26% 0.129 96.1)
XYZxyz(39.6453, 42.7979, 11.1726)
Luminance0.4280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AE41 #415AC7
analogous
#C76B41 #C7AE41 #9DC741
triadic
#C7AE41 #41C7AE #AE41C7
tetradic
#C7AE41 #41C76B #415AC7 #C7419D
square
#C7AE41 #41C76B #415AC7 #C7419D
split-complementary
#C7AE41 #419DC7 #6B41C7
monochromatic
#6D5F20 #9D882E #C7AE41 #D5C270 #E3D6A0

Accessibility & contrast

On white

2.20
#C7AE41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#C7AE41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AE41
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AE41#FFFFFF#000000##000000
##C7AE411.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA33
Deuteranopia (green-blind)
#C6B247
Tritanopia (blue-blind)
#D6A197
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c7ae41;
/* rgb */ color: rgb(199, 174, 65);
/* oklch */ color: oklch(75.3% 0.129 96.1);
Tailwind
colors: {
  custom: {
    50: '#dbc57b',
    500: '#c7ae41',
    950: '#000000',
  },
}
SCSS
$custom: #c7ae41;
$custom-light: #dbc57b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ae41",
  "rgb": {
    "r": 199,
    "g": 174,
    "b": 65
  },
  "hsl": {
    "h": 48.806,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75255,
    "c": 0.12935,
    "h": 96.1
  },
  "luminance": 0.42796
}

Semantic roles & 50–950 ramp

primary
#C7AE41
secondary
#959FCF
accent
#66DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C7AE41

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

Preview Lab → · Contrast checker → · Palette generator →

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