#C7AE3E#C7AE3E

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

Color values

HEX#C7AE3E
RGBrgb(199, 174, 62)
HSLhsl(49, 55%, 51%)
HSVhsv(49, 69%, 78%)
CMYKcmyk(0%, 12.6%, 68.8%, 22%)
CIE-LABlab(71.39, -3.38, 58.31)
CIE-LCHlch(71.39, 58.41, 93.32°)
OKLaboklab(75.23% -0.0146 0.1307)
OKLCHoklch(75.23% 0.132 96.4)
XYZxyz(39.5606, 42.7640, 10.7270)
Luminance0.4276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AE3E #3E57C7
analogous
#C7693E #C7AE3E #9BC73E
triadic
#C7AE3E #3EC7AE #AE3EC7
tetradic
#C7AE3E #3EC769 #3E57C7 #C73E9B
square
#C7AE3E #3EC769 #3E57C7 #C73E9B
split-complementary
#C7AE3E #3E9BC7 #693EC7
monochromatic
#6B5E1F #9B872D #C7AE3E #D5C26D #E3D69D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7AE3E#FFFFFF#000000##000000
##C7AE3E1.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)
#BFAA2F
Deuteranopia (green-blind)
#C6B244
Tritanopia (blue-blind)
#D6A197
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c7ae3e;
/* rgb */ color: rgb(199, 174, 62);
/* oklch */ color: oklch(75.2% 0.132 96.4);
Tailwind
colors: {
  custom: {
    50: '#dcc579',
    500: '#c7ae3e',
    950: '#000000',
  },
}
SCSS
$custom: #c7ae3e;
$custom-light: #dcc579;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ae3e",
  "rgb": {
    "r": 199,
    "g": 174,
    "b": 62
  },
  "hsl": {
    "h": 49.051,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75229,
    "c": 0.13151,
    "h": 96.4
  },
  "luminance": 0.42762
}

Semantic roles & 50–950 ramp

primary
#C7AE3E
secondary
#929DCF
accent
#65DE49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C7AE3E

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

Preview Lab → · Contrast checker → · Palette generator →

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