#C7AA3D#C7AA3D

#C7AA3D is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.4% C 0.129 H 93.9°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#C7AA3D
RGBrgb(199, 170, 61)
HSLhsl(47, 55%, 51%)
HSVhsv(47, 69%, 78%)
CMYKcmyk(0%, 14.6%, 69.3%, 22%)
CIE-LABlab(70.34, -1.32, 57.64)
CIE-LCHlch(70.34, 57.65, 91.31°)
OKLaboklab(74.39% -0.0089 0.1291)
OKLCHoklch(74.39% 0.129 93.9)
XYZxyz(38.7722, 41.2306, 10.3301)
Luminance0.4123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AA3D #3D5AC7
analogous
#C7653D #C7AA3D #9FC73D
triadic
#C7AA3D #3DC7AA #AA3DC7
tetradic
#C7AA3D #3DC765 #3D5AC7 #C73D9F
square
#C7AA3D #3DC765 #3D5AC7 #C73D9F
split-complementary
#C7AA3D #3D9FC7 #653DC7
monochromatic
#6B5B1F #9A832D #C7AA3D #D5BF6C #E2D49C

Accessibility & contrast

On white

2.27
#C7AA3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#C7AA3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AA3D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AA3D#FFFFFF#000000##000000
##C7AA3D1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72E
Deuteranopia (green-blind)
#C3B043
Tritanopia (blue-blind)
#D79D94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c7aa3d;
/* rgb */ color: rgb(199, 170, 61);
/* oklch */ color: oklch(74.4% 0.129 93.9);
Tailwind
colors: {
  custom: {
    50: '#dcc279',
    500: '#c7aa3d',
    950: '#000000',
  },
}
SCSS
$custom: #c7aa3d;
$custom-light: #dcc279;
$custom-dark: #000000;
JSON
{
  "hex": "#c7aa3d",
  "rgb": {
    "r": 199,
    "g": 170,
    "b": 61
  },
  "hsl": {
    "h": 47.391,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74391,
    "c": 0.1294,
    "h": 93.9
  },
  "luminance": 0.41228
}

Semantic roles & 50–950 ramp

primary
#C7AA3D
secondary
#919ECE
accent
#69DF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#151209
muted
#84817B

Preview Lab

Preview with #C7AA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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