#C7AD3E#C7AD3E

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

Color values

HEX#C7AD3E
RGBrgb(199, 173, 62)
HSLhsl(49, 55%, 51%)
HSVhsv(49, 69%, 78%)
CMYKcmyk(0%, 13.1%, 68.8%, 22%)
CIE-LABlab(71.13, -2.86, 58.04)
CIE-LCHlch(71.13, 58.11, 92.82°)
OKLaboklab(75.02% -0.0131 0.1301)
OKLCHoklch(75.02% 0.131 95.8)
XYZxyz(39.3682, 42.3791, 10.6629)
Luminance0.4238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AD3E #3E58C7
analogous
#C7683E #C7AD3E #9CC73E
triadic
#C7AD3E #3EC7AD #AD3EC7
tetradic
#C7AD3E #3EC768 #3E58C7 #C73E9C
square
#C7AD3E #3EC768 #3E58C7 #C73E9C
split-complementary
#C7AD3E #3E9CC7 #683EC7
monochromatic
#6B5D1F #9B862D #C7AD3E #D5C16D #E3D59D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7AD3E#FFFFFF#000000##000000
##C7AD3E1.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)
#BEA92F
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#D7A096
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c7ad3e;
/* rgb */ color: rgb(199, 173, 62);
/* oklch */ color: oklch(75.0% 0.131 95.8);
Tailwind
colors: {
  custom: {
    50: '#dcc579',
    500: '#c7ad3e',
    950: '#000000',
  },
}
SCSS
$custom: #c7ad3e;
$custom-light: #dcc579;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ad3e",
  "rgb": {
    "r": 199,
    "g": 173,
    "b": 62
  },
  "hsl": {
    "h": 48.613,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75021,
    "c": 0.13078,
    "h": 95.8
  },
  "luminance": 0.42377
}

Semantic roles & 50–950 ramp

primary
#C7AD3E
secondary
#929ECF
accent
#66DE49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#151209
muted
#84817B

Preview Lab

Preview with #C7AD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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