#C7AE38#C7AE38

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

Color values

HEX#C7AE38
RGBrgb(199, 174, 56)
HSLhsl(50, 56%, 50%)
HSVhsv(50, 72%, 78%)
CMYKcmyk(0%, 12.6%, 71.9%, 22%)
CIE-LABlab(71.35, -3.69, 60.65)
CIE-LCHlch(71.35, 60.76, 93.48°)
OKLaboklab(75.18% -0.0162 0.1346)
OKLCHoklch(75.18% 0.136 96.9)
XYZxyz(39.4050, 42.7018, 9.9073)
Luminance0.4270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AE38 #3851C7
analogous
#C76638 #C7AE38 #99C738
triadic
#C7AE38 #38C7AE #AE38C7
tetradic
#C7AE38 #38C766 #3851C7 #C73899
square
#C7AE38 #38C766 #3851C7 #C73899
split-complementary
#C7AE38 #3899C7 #6638C7
monochromatic
#675A1D #97842B #C7AE38 #D4C168 #E2D598

Accessibility & contrast

On white

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

On black

9.54
#C7AE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AE38
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AE38#FFFFFF#000000##000000
##C7AE381.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7ae38;
/* rgb */ color: rgb(199, 174, 56);
/* oklch */ color: oklch(75.2% 0.136 96.9);
Tailwind
colors: {
  custom: {
    50: '#dcc576',
    500: '#c7ae38',
    950: '#000000',
  },
}
SCSS
$custom: #c7ae38;
$custom-light: #dcc576;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ae38",
  "rgb": {
    "r": 199,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 49.51,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.75182,
    "c": 0.13554,
    "h": 96.9
  },
  "luminance": 0.427
}

Semantic roles & 50–950 ramp

primary
#C7AE38
secondary
#8D99CD
accent
#63DF48
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7AE38

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

Preview Lab → · Contrast checker → · Palette generator →

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