#C7AC3F#C7AC3F

#C7AC3F is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.8% C 0.129 H 95.0°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#C7AC3F
RGBrgb(199, 172, 63)
HSLhsl(48, 55%, 51%)
HSVhsv(48, 68%, 78%)
CMYKcmyk(0%, 13.6%, 68.3%, 22%)
CIE-LABlab(70.88, -2.27, 57.36)
CIE-LCHlch(70.88, 57.41, 92.27°)
OKLaboklab(74.82% -0.0114 0.1289)
OKLCHoklch(74.82% 0.129 95)
XYZxyz(39.2048, 42.0081, 10.7450)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AC3F #3F5AC7
analogous
#C7683F #C7AC3F #9EC73F
triadic
#C7AC3F #3FC7AC #AC3FC7
tetradic
#C7AC3F #3FC768 #3F5AC7 #C73F9E
square
#C7AC3F #3FC768 #3F5AC7 #C73F9E
split-complementary
#C7AC3F #3F9EC7 #683FC7
monochromatic
#6C5D20 #9B862D #C7AC3F #D5C06E #E3D59E

Accessibility & contrast

On white

2.23
#C7AC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#C7AC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AC3F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AC3F#FFFFFF#000000##000000
##C7AC3F1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA931
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#D79F96
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c7ac3f;
/* rgb */ color: rgb(199, 172, 63);
/* oklch */ color: oklch(74.8% 0.129 95.0);
Tailwind
colors: {
  custom: {
    50: '#dcc47a',
    500: '#c7ac3f',
    950: '#000000',
  },
}
SCSS
$custom: #c7ac3f;
$custom-light: #dcc47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ac3f",
  "rgb": {
    "r": 199,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 48.088,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74822,
    "c": 0.12936,
    "h": 95
  },
  "luminance": 0.42006
}

Semantic roles & 50–950 ramp

primary
#C7AC3F
secondary
#939FCF
accent
#67DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C7AC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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