#C7AE3F#C7AE3F

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

Color values

HEX#C7AE3F
RGBrgb(199, 174, 63)
HSLhsl(49, 55%, 51%)
HSVhsv(49, 68%, 78%)
CMYKcmyk(0%, 12.6%, 68.3%, 22%)
CIE-LABlab(71.40, -3.33, 57.91)
CIE-LCHlch(71.40, 58.00, 93.29°)
OKLaboklab(75.24% -0.0144 0.13)
OKLCHoklch(75.24% 0.131 96.3)
XYZxyz(39.5883, 42.7751, 10.8729)
Luminance0.4277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AE3F #3F58C7
analogous
#C76A3F #C7AE3F #9CC73F
triadic
#C7AE3F #3FC7AE #AE3FC7
tetradic
#C7AE3F #3FC76A #3F58C7 #C73F9C
square
#C7AE3F #3FC76A #3F58C7 #C73F9C
split-complementary
#C7AE3F #3F9CC7 #6A3FC7
monochromatic
#6C5E20 #9B872D #C7AE3F #D5C26E #E3D69E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7AE3F#FFFFFF#000000##000000
##C7AE3F1.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)
#BFAA30
Deuteranopia (green-blind)
#C6B245
Tritanopia (blue-blind)
#D6A197
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c7ae3f;
/* rgb */ color: rgb(199, 174, 63);
/* oklch */ color: oklch(75.2% 0.131 96.3);
Tailwind
colors: {
  custom: {
    50: '#dcc57a',
    500: '#c7ae3f',
    950: '#000000',
  },
}
SCSS
$custom: #c7ae3f;
$custom-light: #dcc57a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ae3f",
  "rgb": {
    "r": 199,
    "g": 174,
    "b": 63
  },
  "hsl": {
    "h": 48.971,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75238,
    "c": 0.13079,
    "h": 96.3
  },
  "luminance": 0.42773
}

Semantic roles & 50–950 ramp

primary
#C7AE3F
secondary
#939ECF
accent
#65DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C7AE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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