#C7AE37#C7AE37

#C7AE37 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.2% C 0.136 H 96.9°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#C7AE37
RGBrgb(199, 174, 55)
HSLhsl(50, 57%, 50%)
HSVhsv(50, 72%, 78%)
CMYKcmyk(0%, 12.6%, 72.4%, 22%)
CIE-LABlab(71.35, -3.74, 61.03)
CIE-LCHlch(71.35, 61.14, 93.51°)
OKLaboklab(75.18% -0.0164 0.1352)
OKLCHoklch(75.18% 0.136 96.9)
XYZxyz(39.3808, 42.6921, 9.7798)
Luminance0.4269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AE37 #3750C7
analogous
#C76637 #C7AE37 #98C737
triadic
#C7AE37 #37C7AE #AE37C7
tetradic
#C7AE37 #37C766 #3750C7 #C73798
square
#C7AE37 #37C766 #3750C7 #C73798
split-complementary
#C7AE37 #3798C7 #6637C7
monochromatic
#675A1C #97842A #C7AE37 #D5C266 #E2D596

Accessibility & contrast

On white

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

On black

9.54
#C7AE37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AE37
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AE37#FFFFFF#000000##000000
##C7AE371.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA24
Deuteranopia (green-blind)
#C6B23E
Tritanopia (blue-blind)
#D7A196
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c7ae37;
/* rgb */ color: rgb(199, 174, 55);
/* oklch */ color: oklch(75.2% 0.136 96.9);
Tailwind
colors: {
  custom: {
    50: '#dcc576',
    500: '#c7ae37',
    950: '#000000',
  },
}
SCSS
$custom: #c7ae37;
$custom-light: #dcc576;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ae37",
  "rgb": {
    "r": 199,
    "g": 174,
    "b": 55
  },
  "hsl": {
    "h": 49.583,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75175,
    "c": 0.13618,
    "h": 96.9
  },
  "luminance": 0.4269
}

Semantic roles & 50–950 ramp

primary
#C7AE37
secondary
#8C98CD
accent
#62E048
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7AE37

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

Preview Lab → · Contrast checker → · Palette generator →

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