#C7AE3D#C7AE3D

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

Color values

HEX#C7AE3D
RGBrgb(199, 174, 61)
HSLhsl(49, 55%, 51%)
HSVhsv(49, 69%, 78%)
CMYKcmyk(0%, 12.6%, 69.3%, 22%)
CIE-LABlab(71.39, -3.44, 58.71)
CIE-LCHlch(71.39, 58.81, 93.35°)
OKLaboklab(75.22% -0.0149 0.1314)
OKLCHoklch(75.22% 0.132 96.5)
XYZxyz(39.5335, 42.7532, 10.5838)
Luminance0.4275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AE3D #3D56C7
analogous
#C7693D #C7AE3D #9BC73D
triadic
#C7AE3D #3DC7AE #AE3DC7
tetradic
#C7AE3D #3DC769 #3D56C7 #C73D9B
square
#C7AE3D #3DC769 #3D56C7 #C73D9B
split-complementary
#C7AE3D #3D9BC7 #693DC7
monochromatic
#6B5D1F #9A862D #C7AE3D #D5C26C #E2D69C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7AE3D#FFFFFF#000000##000000
##C7AE3D1.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)
#BFAA2D
Deuteranopia (green-blind)
#C6B243
Tritanopia (blue-blind)
#D7A197
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c7ae3d;
/* rgb */ color: rgb(199, 174, 61);
/* oklch */ color: oklch(75.2% 0.132 96.5);
Tailwind
colors: {
  custom: {
    50: '#dcc579',
    500: '#c7ae3d',
    950: '#000000',
  },
}
SCSS
$custom: #c7ae3d;
$custom-light: #dcc579;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ae3d",
  "rgb": {
    "r": 199,
    "g": 174,
    "b": 61
  },
  "hsl": {
    "h": 49.13,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75221,
    "c": 0.1322,
    "h": 96.5
  },
  "luminance": 0.42751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7AE3D

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

Preview Lab → · Contrast checker → · Palette generator →

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