#C7A526#C7A526

#C7A526 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 73.2% C 0.140 H 92.7°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#C7A526
RGBrgb(199, 165, 38)
HSLhsl(47, 68%, 46%)
HSVhsv(47, 81%, 78%)
CMYKcmyk(0%, 17.1%, 80.9%, 22%)
CIE-LABlab(68.89, 0.35, 64.63)
CIE-LCHlch(68.89, 64.63, 89.69°)
OKLaboklab(73.2% -0.0065 0.1395)
OKLCHoklch(73.2% 0.14 92.7)
XYZxyz(37.3604, 39.1946, 7.4309)
Luminance0.3919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A526 #2648C7
analogous
#C75526 #C7A526 #99C726
triadic
#C7A526 #26C7A5 #A526C7
tetradic
#C7A526 #26C755 #2648C7 #C72699
square
#C7A526 #26C755 #2648C7 #C72699
split-complementary
#C7A526 #2699C7 #5526C7
monochromatic
#605012 #947A1C #C7A526 #DDBF4D #E7D181

Accessibility & contrast

On white

2.38
#C7A526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#C7A526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A526
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A526#FFFFFF#000000##000000
##C7A5261.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#C0AC2F
Tritanopia (blue-blind)
#D8978E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c7a526;
/* rgb */ color: rgb(199, 165, 38);
/* oklch */ color: oklch(73.2% 0.140 92.7);
Tailwind
colors: {
  custom: {
    50: '#ddbf6c',
    500: '#c7a526',
    950: '#000000',
  },
}
SCSS
$custom: #c7a526;
$custom-light: #ddbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a526",
  "rgb": {
    "r": 199,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 47.329,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73204,
    "c": 0.13963,
    "h": 92.7
  },
  "luminance": 0.39192
}

Semantic roles & 50–950 ramp

primary
#C7A526
secondary
#798CCF
accent
#62EB3D
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161208
muted
#84817B

Preview Lab

Preview with #C7A526

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

Preview Lab → · Contrast checker → · Palette generator →

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