#C7AD3F#C7AD3F

#C7AD3F is a light, vivid yellow. Relative luminance 0.424; OKLCH L 75.0% C 0.130 H 95.7°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#C7AD3F
RGBrgb(199, 173, 63)
HSLhsl(49, 55%, 51%)
HSVhsv(49, 68%, 78%)
CMYKcmyk(0%, 13.1%, 68.3%, 22%)
CIE-LABlab(71.14, -2.80, 57.63)
CIE-LCHlch(71.14, 57.70, 92.78°)
OKLaboklab(75.03% -0.0129 0.1294)
OKLCHoklch(75.03% 0.13 95.7)
XYZxyz(39.3959, 42.3902, 10.8087)
Luminance0.4239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AD3F #3F59C7
analogous
#C7693F #C7AD3F #9DC73F
triadic
#C7AD3F #3FC7AD #AD3FC7
tetradic
#C7AD3F #3FC769 #3F59C7 #C73F9D
square
#C7AD3F #3FC769 #3F59C7 #C73F9D
split-complementary
#C7AD3F #3F9DC7 #693FC7
monochromatic
#6C5D20 #9B862D #C7AD3F #D5C16E #E3D59E

Accessibility & contrast

On white

2.22
#C7AD3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#C7AD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AD3F
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AD3F#FFFFFF#000000##000000
##C7AD3F1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA930
Deuteranopia (green-blind)
#C5B245
Tritanopia (blue-blind)
#D7A096
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c7ad3f;
/* rgb */ color: rgb(199, 173, 63);
/* oklch */ color: oklch(75.0% 0.130 95.7);
Tailwind
colors: {
  custom: {
    50: '#dcc57a',
    500: '#c7ad3f',
    950: '#000000',
  },
}
SCSS
$custom: #c7ad3f;
$custom-light: #dcc57a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ad3f",
  "rgb": {
    "r": 199,
    "g": 173,
    "b": 63
  },
  "hsl": {
    "h": 48.529,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75029,
    "c": 0.13007,
    "h": 95.7
  },
  "luminance": 0.42388
}

Semantic roles & 50–950 ramp

primary
#C7AD3F
secondary
#939ECF
accent
#66DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C7AD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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