#C7AE4A#C7AE4A

#C7AE4A is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.3% C 0.122 H 95.2°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#C7AE4A
RGBrgb(199, 174, 74)
HSLhsl(48, 53%, 54%)
HSVhsv(48, 63%, 78%)
CMYKcmyk(0%, 12.6%, 62.8%, 22%)
CIE-LABlab(71.49, -2.66, 53.24)
CIE-LCHlch(71.49, 53.31, 92.86°)
OKLaboklab(75.34% -0.0112 0.1219)
OKLCHoklch(75.34% 0.122 95.2)
XYZxyz(39.9271, 42.9106, 12.6567)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AE4A #4A63C7
analogous
#C76F4A #C7AE4A #A1C74A
triadic
#C7AE4A #4AC7AE #AE4AC7
tetradic
#C7AE4A #4AC76F #4A63C7 #C74AA1
square
#C7AE4A #4AC76F #4A63C7 #C74AA1
split-complementary
#C7AE4A #4AA1C7 #6F4AC7
monochromatic
#736324 #A28B32 #C7AE4A #D5C379 #E4D8A7

Accessibility & contrast

On white

2.19
#C7AE4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#C7AE4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AE4A
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AE4A#FFFFFF#000000##000000
##C7AE4A1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB3F
Deuteranopia (green-blind)
#C5B24F
Tritanopia (blue-blind)
#D6A298
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c7ae4a;
/* rgb */ color: rgb(199, 174, 74);
/* oklch */ color: oklch(75.3% 0.122 95.2);
Tailwind
colors: {
  custom: {
    50: '#dbc581',
    500: '#c7ae4a',
    950: '#000000',
  },
}
SCSS
$custom: #c7ae4a;
$custom-light: #dbc581;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ae4a",
  "rgb": {
    "r": 199,
    "g": 174,
    "b": 74
  },
  "hsl": {
    "h": 48,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.7534,
    "c": 0.12236,
    "h": 95.2
  },
  "luminance": 0.42909
}

Semantic roles & 50–950 ramp

primary
#C7AE4A
secondary
#9CA6D1
accent
#69DC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15120A
muted
#83817C

Preview Lab

Preview with #C7AE4A

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

Preview Lab → · Contrast checker → · Palette generator →

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