#C7AC26#C7AC26

#C7AC26 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.7% C 0.144 H 96.8°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#C7AC26
RGBrgb(199, 172, 38)
HSLhsl(50, 68%, 46%)
HSVhsv(50, 81%, 78%)
CMYKcmyk(0%, 13.6%, 80.9%, 22%)
CIE-LABlab(70.73, -3.36, 66.24)
CIE-LCHlch(70.73, 66.32, 92.90°)
OKLaboklab(74.65% -0.017 0.143)
OKLCHoklch(74.65% 0.144 96.8)
XYZxyz(38.6577, 41.7892, 7.8633)
Luminance0.4179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AC26 #2641C7
analogous
#C75C26 #C7AC26 #92C726
triadic
#C7AC26 #26C7AC #AC26C7
tetradic
#C7AC26 #26C75C #2641C7 #C72692
square
#C7AC26 #26C75C #2641C7 #C72692
split-complementary
#C7AC26 #2692C7 #5C26C7
monochromatic
#605312 #94801C #C7AC26 #DDC54D #E7D681

Accessibility & contrast

On white

2.24
#C7AC26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#C7AC26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AC26
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AC26#FFFFFF#000000##000000
##C7AC261.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#C5B130
Tritanopia (blue-blind)
#D79E93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c7ac26;
/* rgb */ color: rgb(199, 172, 38);
/* oklch */ color: oklch(74.7% 0.144 96.8);
Tailwind
colors: {
  custom: {
    50: '#ddc46d',
    500: '#c7ac26',
    950: '#000000',
  },
}
SCSS
$custom: #c7ac26;
$custom-light: #ddc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ac26",
  "rgb": {
    "r": 199,
    "g": 172,
    "b": 38
  },
  "hsl": {
    "h": 49.938,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74654,
    "c": 0.14397,
    "h": 96.8
  },
  "luminance": 0.41787
}

Semantic roles & 50–950 ramp

primary
#C7AC26
secondary
#7988CF
accent
#5AEB3D
background
#FEFBF6
surface
#FCF7EC
border
#D5D0C7
text
#161208
muted
#84817B

Preview Lab

Preview with #C7AC26

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

Preview Lab → · Contrast checker → · Palette generator →

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