#C7A326#C7A326

#C7A326 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.8% C 0.139 H 91.4°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#C7A326
RGBrgb(199, 163, 38)
HSLhsl(47, 68%, 46%)
HSVhsv(47, 81%, 78%)
CMYKcmyk(0%, 18.1%, 80.9%, 22%)
CIE-LABlab(68.37, 1.42, 64.18)
CIE-LCHlch(68.37, 64.19, 88.73°)
OKLaboklab(72.79% -0.0035 0.1385)
OKLCHoklch(72.79% 0.139 91.4)
XYZxyz(37.0025, 38.4788, 7.3116)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A326 #264AC7
analogous
#C75326 #C7A326 #9BC726
triadic
#C7A326 #26C7A3 #A326C7
tetradic
#C7A326 #26C753 #264AC7 #C7269B
square
#C7A326 #26C753 #264AC7 #C7269B
split-complementary
#C7A326 #269BC7 #5326C7
monochromatic
#604F12 #94791C #C7A326 #DDBD4D #E7D081

Accessibility & contrast

On white

2.42
#C7A326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#C7A326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A326
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A326#FFFFFF#000000##000000
##C7A3261.002.428.708.70
#FFFFFF2.421.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A102
Deuteranopia (green-blind)
#BFAB2E
Tritanopia (blue-blind)
#D8958C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c7a326;
/* rgb */ color: rgb(199, 163, 38);
/* oklch */ color: oklch(72.8% 0.139 91.4);
Tailwind
colors: {
  custom: {
    50: '#ddbd6c',
    500: '#c7a326',
    950: '#000000',
  },
}
SCSS
$custom: #c7a326;
$custom-light: #ddbd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a326",
  "rgb": {
    "r": 199,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 46.584,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72794,
    "c": 0.13853,
    "h": 91.4
  },
  "luminance": 0.38476
}

Semantic roles & 50–950 ramp

primary
#C7A326
secondary
#798DCF
accent
#64EB3D
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #C7A326

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

Preview Lab → · Contrast checker → · Palette generator →

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