#C7A726#C7A726

#C7A726 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.6% C 0.141 H 93.9°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#C7A726
RGBrgb(199, 167, 38)
HSLhsl(48, 68%, 46%)
HSVhsv(48, 81%, 78%)
CMYKcmyk(0%, 16.1%, 80.9%, 22%)
CIE-LABlab(69.41, -0.71, 65.09)
CIE-LCHlch(69.41, 65.10, 90.63°)
OKLaboklab(73.62% -0.0095 0.1405)
OKLCHoklch(73.62% 0.141 93.9)
XYZxyz(37.7239, 39.9218, 7.5521)
Luminance0.3992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A726 #2646C7
analogous
#C75726 #C7A726 #96C726
triadic
#C7A726 #26C7A7 #A726C7
tetradic
#C7A726 #26C757 #2646C7 #C72696
square
#C7A726 #26C757 #2646C7 #C72696
split-complementary
#C7A726 #2696C7 #5726C7
monochromatic
#605112 #947C1C #C7A726 #DDC04D #E7D381

Accessibility & contrast

On white

2.34
#C7A726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#C7A726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A726
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A726#FFFFFF#000000##000000
##C7A7261.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#C2AE2F
Tritanopia (blue-blind)
#D8998F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c7a726;
/* rgb */ color: rgb(199, 167, 38);
/* oklch */ color: oklch(73.6% 0.141 93.9);
Tailwind
colors: {
  custom: {
    50: '#ddc06d',
    500: '#c7a726',
    950: '#000000',
  },
}
SCSS
$custom: #c7a726;
$custom-light: #ddc06d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a726",
  "rgb": {
    "r": 199,
    "g": 167,
    "b": 38
  },
  "hsl": {
    "h": 48.075,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73617,
    "c": 0.14079,
    "h": 93.9
  },
  "luminance": 0.39919
}

Semantic roles & 50–950 ramp

primary
#C7A726
secondary
#798ACF
accent
#60EB3D
background
#FEFBF6
surface
#FCF7EC
border
#D5D0C7
text
#161208
muted
#84817B

Preview Lab

Preview with #C7A726

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

Preview Lab → · Contrast checker → · Palette generator →

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