#C7AA3B#C7AA3B

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

Color values

HEX#C7AA3B
RGBrgb(199, 170, 59)
HSLhsl(48, 56%, 51%)
HSVhsv(48, 70%, 78%)
CMYKcmyk(0%, 14.6%, 70.4%, 22%)
CIE-LABlab(70.32, -1.43, 58.44)
CIE-LCHlch(70.32, 58.46, 91.40°)
OKLaboklab(74.37% -0.0094 0.1304)
OKLCHoklch(74.37% 0.131 94.1)
XYZxyz(38.7193, 41.2095, 10.0516)
Luminance0.4121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AA3B #3B58C7
analogous
#C7643B #C7AA3B #9EC73B
triadic
#C7AA3B #3BC7AA #AA3BC7
tetradic
#C7AA3B #3BC764 #3B58C7 #C73B9E
square
#C7AA3B #3BC764 #3B58C7 #C73B9E
split-complementary
#C7AA3B #3B9EC7 #643BC7
monochromatic
#695A1E #99822C #C7AA3B #D5BF6B #E2D39A

Accessibility & contrast

On white

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

On black

9.24
#C7AA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AA3B
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AA3B#FFFFFF#000000##000000
##C7AA3B1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72B
Deuteranopia (green-blind)
#C3B041
Tritanopia (blue-blind)
#D79D93
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c7aa3b;
/* rgb */ color: rgb(199, 170, 59);
/* oklch */ color: oklch(74.4% 0.131 94.1);
Tailwind
colors: {
  custom: {
    50: '#dcc277',
    500: '#c7aa3b',
    950: '#000000',
  },
}
SCSS
$custom: #c7aa3b;
$custom-light: #dcc277;
$custom-dark: #000000;
JSON
{
  "hex": "#c7aa3b",
  "rgb": {
    "r": 199,
    "g": 170,
    "b": 59
  },
  "hsl": {
    "h": 47.571,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74374,
    "c": 0.13078,
    "h": 94.1
  },
  "luminance": 0.41207
}

Semantic roles & 50–950 ramp

primary
#C7AA3B
secondary
#909DCE
accent
#68DF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C7AA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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