#C7A641#C7A641

#C7A641 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.6% C 0.124 H 90.8°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#C7A641
RGBrgb(199, 166, 65)
HSLhsl(45, 54%, 52%)
HSVhsv(45, 67%, 78%)
CMYKcmyk(0%, 16.6%, 67.3%, 22%)
CIE-LABlab(69.33, 1.03, 54.90)
CIE-LCHlch(69.33, 54.91, 88.93°)
OKLaboklab(73.6% -0.0016 0.124)
OKLCHoklch(73.6% 0.124 90.8)
XYZxyz(38.1455, 39.7984, 10.6727)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A641 #4162C7
analogous
#C76341 #C7A641 #A5C741
triadic
#C7A641 #41C7A6 #A641C7
tetradic
#C7A641 #41C763 #4162C7 #C741A5
square
#C7A641 #41C763 #4162C7 #C741A5
split-complementary
#C7A641 #41A5C7 #6341C7
monochromatic
#6D5A20 #9D812E #C7A641 #D5BC70 #E3D2A0

Accessibility & contrast

On white

2.34
#C7A641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#C7A641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A641
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A641#FFFFFF#000000##000000
##C7A6411.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A435
Deuteranopia (green-blind)
#C0AD46
Tritanopia (blue-blind)
#D79991
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c7a641;
/* rgb */ color: rgb(199, 166, 65);
/* oklch */ color: oklch(73.6% 0.124 90.8);
Tailwind
colors: {
  custom: {
    50: '#dcc07b',
    500: '#c7a641',
    950: '#000000',
  },
}
SCSS
$custom: #c7a641;
$custom-light: #dcc07b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a641",
  "rgb": {
    "r": 199,
    "g": 166,
    "b": 65
  },
  "hsl": {
    "h": 45.224,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73602,
    "c": 0.12398,
    "h": 90.8
  },
  "luminance": 0.39796
}

Semantic roles & 50–950 ramp

primary
#C7A641
secondary
#95A3CF
accent
#6EDE4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C7A641

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

Preview Lab → · Contrast checker → · Palette generator →

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