#C7AD26#C7AD26

#C7AD26 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.9% C 0.145 H 97.3°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#C7AD26
RGBrgb(199, 173, 38)
HSLhsl(50, 68%, 46%)
HSVhsv(50, 81%, 78%)
CMYKcmyk(0%, 13.1%, 80.9%, 22%)
CIE-LABlab(70.99, -3.89, 66.47)
CIE-LCHlch(70.99, 66.58, 93.35°)
OKLaboklab(74.86% -0.0185 0.1435)
OKLCHoklch(74.86% 0.145 97.3)
XYZxyz(38.8487, 42.1713, 7.9270)
Luminance0.4217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AD26 #2640C7
analogous
#C75D26 #C7AD26 #90C726
triadic
#C7AD26 #26C7AD #AD26C7
tetradic
#C7AD26 #26C75D #2640C7 #C72690
square
#C7AD26 #26C75D #2640C7 #C72690
split-complementary
#C7AD26 #2690C7 #5D26C7
monochromatic
#605412 #94801C #C7AD26 #DDC64D #E7D681

Accessibility & contrast

On white

2.23
#C7AD26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#C7AD26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AD26
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AD26#FFFFFF#000000##000000
##C7AD261.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#C6B130
Tritanopia (blue-blind)
#D79F94
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c7ad26;
/* rgb */ color: rgb(199, 173, 38);
/* oklch */ color: oklch(74.9% 0.145 97.3);
Tailwind
colors: {
  custom: {
    50: '#dcc56d',
    500: '#c7ad26',
    950: '#000000',
  },
}
SCSS
$custom: #c7ad26;
$custom-light: #dcc56d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ad26",
  "rgb": {
    "r": 199,
    "g": 173,
    "b": 38
  },
  "hsl": {
    "h": 50.311,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74863,
    "c": 0.14465,
    "h": 97.3
  },
  "luminance": 0.42169
}

Semantic roles & 50–950 ramp

primary
#C7AD26
secondary
#7987CF
accent
#59EB3D
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C7AD26

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

Preview Lab → · Contrast checker → · Palette generator →

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