#C7AE3C#C7AE3C

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

Color values

HEX#C7AE3C
RGBrgb(199, 174, 60)
HSLhsl(49, 55%, 51%)
HSVhsv(49, 70%, 78%)
CMYKcmyk(0%, 12.6%, 69.8%, 22%)
CIE-LABlab(71.38, -3.49, 59.11)
CIE-LCHlch(71.38, 59.21, 93.38°)
OKLaboklab(75.21% -0.0152 0.132)
OKLCHoklch(75.21% 0.133 96.6)
XYZxyz(39.5068, 42.7425, 10.4433)
Luminance0.4274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AE3C #3C55C7
analogous
#C7693C #C7AE3C #9AC73C
triadic
#C7AE3C #3CC7AE #AE3CC7
tetradic
#C7AE3C #3CC769 #3C55C7 #C73C9A
square
#C7AE3C #3CC769 #3C55C7 #C73C9A
split-complementary
#C7AE3C #3C9AC7 #693CC7
monochromatic
#6A5D1E #9A862C #C7AE3C #D5C26C #E2D59B

Accessibility & contrast

On white

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

On black

9.55
#C7AE3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AE3C
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AE3C#FFFFFF#000000##000000
##C7AE3C1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2C
Deuteranopia (green-blind)
#C6B242
Tritanopia (blue-blind)
#D7A197
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c7ae3c;
/* rgb */ color: rgb(199, 174, 60);
/* oklch */ color: oklch(75.2% 0.133 96.6);
Tailwind
colors: {
  custom: {
    50: '#dcc578',
    500: '#c7ae3c',
    950: '#000000',
  },
}
SCSS
$custom: #c7ae3c;
$custom-light: #dcc578;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ae3c",
  "rgb": {
    "r": 199,
    "g": 174,
    "b": 60
  },
  "hsl": {
    "h": 49.209,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75213,
    "c": 0.13289,
    "h": 96.6
  },
  "luminance": 0.4274
}

Semantic roles & 50–950 ramp

primary
#C7AE3C
secondary
#919CCE
accent
#64DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#151209
muted
#84817B

Preview Lab

Preview with #C7AE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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