#C7AE39#C7AE39

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

Color values

HEX#C7AE39
RGBrgb(199, 174, 57)
HSLhsl(49, 56%, 50%)
HSVhsv(49, 71%, 78%)
CMYKcmyk(0%, 12.6%, 71.4%, 22%)
CIE-LABlab(71.36, -3.64, 60.27)
CIE-LCHlch(71.36, 60.38, 93.46°)
OKLaboklab(75.19% -0.0159 0.1339)
OKLCHoklch(75.19% 0.135 96.8)
XYZxyz(39.4297, 42.7117, 10.0374)
Luminance0.4271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AE39 #3952C7
analogous
#C76739 #C7AE39 #99C739
triadic
#C7AE39 #39C7AE #AE39C7
tetradic
#C7AE39 #39C767 #3952C7 #C73999
square
#C7AE39 #39C767 #3952C7 #C73999
split-complementary
#C7AE39 #3999C7 #6739C7
monochromatic
#685B1D #98852B #C7AE39 #D4C269 #E2D598

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7AE39#FFFFFF#000000##000000
##C7AE391.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)
#C0AA27
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#D7A197
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c7ae39;
/* rgb */ color: rgb(199, 174, 57);
/* oklch */ color: oklch(75.2% 0.135 96.8);
Tailwind
colors: {
  custom: {
    50: '#dcc577',
    500: '#c7ae39',
    950: '#000000',
  },
}
SCSS
$custom: #c7ae39;
$custom-light: #dcc577;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ae39",
  "rgb": {
    "r": 199,
    "g": 174,
    "b": 57
  },
  "hsl": {
    "h": 49.437,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75189,
    "c": 0.13489,
    "h": 96.8
  },
  "luminance": 0.4271
}

Semantic roles & 50–950 ramp

primary
#C7AE39
secondary
#8E99CE
accent
#63DF49
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7AE39

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

Preview Lab → · Contrast checker → · Palette generator →

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