#C7AD37#C7AD37

#C7AD37 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 75.0% C 0.135 H 96.3°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#C7AD37
RGBrgb(199, 173, 55)
HSLhsl(49, 57%, 50%)
HSVhsv(49, 72%, 78%)
CMYKcmyk(0%, 13.1%, 72.4%, 22%)
CIE-LABlab(71.08, -3.21, 60.77)
CIE-LCHlch(71.08, 60.85, 93.03°)
OKLaboklab(74.97% -0.0149 0.1346)
OKLCHoklch(74.97% 0.135 96.3)
XYZxyz(39.1883, 42.3072, 9.7156)
Luminance0.4230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AD37 #3751C7
analogous
#C76537 #C7AD37 #99C737
triadic
#C7AD37 #37C7AD #AD37C7
tetradic
#C7AD37 #37C765 #3751C7 #C73799
square
#C7AD37 #37C765 #3751C7 #C73799
split-complementary
#C7AD37 #3799C7 #6537C7
monochromatic
#675A1C #97832A #C7AD37 #D5C166 #E2D496

Accessibility & contrast

On white

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

On black

9.46
#C7AD37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AD37
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AD37#FFFFFF#000000##000000
##C7AD371.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7ad37;
/* rgb */ color: rgb(199, 173, 55);
/* oklch */ color: oklch(75.0% 0.135 96.3);
Tailwind
colors: {
  custom: {
    50: '#dcc575',
    500: '#c7ad37',
    950: '#000000',
  },
}
SCSS
$custom: #c7ad37;
$custom-light: #dcc575;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ad37",
  "rgb": {
    "r": 199,
    "g": 173,
    "b": 55
  },
  "hsl": {
    "h": 49.167,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74966,
    "c": 0.13546,
    "h": 96.3
  },
  "luminance": 0.42305
}

Semantic roles & 50–950 ramp

primary
#C7AD37
secondary
#8C98CD
accent
#63E048
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7AD37

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

Preview Lab → · Contrast checker → · Palette generator →

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