#C7AF3F#C7AF3F

#C7AF3F is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.4% C 0.132 H 96.9°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#C7AF3F
RGBrgb(199, 175, 63)
HSLhsl(49, 55%, 51%)
HSVhsv(49, 68%, 78%)
CMYKcmyk(0%, 12.1%, 68.3%, 22%)
CIE-LABlab(71.67, -3.85, 58.18)
CIE-LCHlch(71.67, 58.30, 93.79°)
OKLaboklab(75.45% -0.0159 0.1306)
OKLCHoklch(75.45% 0.132 96.9)
XYZxyz(39.7822, 43.1629, 10.9375)
Luminance0.4316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AF3F #3F57C7
analogous
#C76B3F #C7AF3F #9BC73F
triadic
#C7AF3F #3FC7AF #AF3FC7
tetradic
#C7AF3F #3FC76B #3F57C7 #C73F9B
square
#C7AF3F #3FC76B #3F57C7 #C73F9B
split-complementary
#C7AF3F #3F9BC7 #6B3FC7
monochromatic
#6C5F20 #9B882D #C7AF3F #D5C36E #E3D69E

Accessibility & contrast

On white

2.18
#C7AF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#C7AF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AF3F
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AF3F#FFFFFF#000000##000000
##C7AF3F1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB30
Deuteranopia (green-blind)
#C6B345
Tritanopia (blue-blind)
#D6A298
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c7af3f;
/* rgb */ color: rgb(199, 175, 63);
/* oklch */ color: oklch(75.4% 0.132 96.9);
Tailwind
colors: {
  custom: {
    50: '#dcc67a',
    500: '#c7af3f',
    950: '#000000',
  },
}
SCSS
$custom: #c7af3f;
$custom-light: #dcc67a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7af3f",
  "rgb": {
    "r": 199,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 49.412,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75446,
    "c": 0.13153,
    "h": 96.9
  },
  "luminance": 0.43161
}

Semantic roles & 50–950 ramp

primary
#C7AF3F
secondary
#939ECF
accent
#64DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7AF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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