#C7A426#C7A426

#C7A426 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 73.0% C 0.139 H 92.1°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#C7A426
RGBrgb(199, 164, 38)
HSLhsl(47, 68%, 46%)
HSVhsv(47, 81%, 78%)
CMYKcmyk(0%, 17.6%, 80.9%, 22%)
CIE-LABlab(68.63, 0.88, 64.41)
CIE-LCHlch(68.63, 64.41, 89.21°)
OKLaboklab(73% -0.005 0.139)
OKLCHoklch(73% 0.139 92.1)
XYZxyz(37.1807, 38.8353, 7.3710)
Luminance0.3883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A426 #2649C7
analogous
#C75426 #C7A426 #99C726
triadic
#C7A426 #26C7A4 #A426C7
tetradic
#C7A426 #26C754 #2649C7 #C72699
square
#C7A426 #26C754 #2649C7 #C72699
split-complementary
#C7A426 #2699C7 #5426C7
monochromatic
#604F12 #947A1C #C7A426 #DDBE4D #E7D181

Accessibility & contrast

On white

2.40
#C7A426 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#C7A426 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A426
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A426#FFFFFF#000000##000000
##C7A4261.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A201
Deuteranopia (green-blind)
#C0AC2F
Tritanopia (blue-blind)
#D8968D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c7a426;
/* rgb */ color: rgb(199, 164, 38);
/* oklch */ color: oklch(73.0% 0.139 92.1);
Tailwind
colors: {
  custom: {
    50: '#ddbe6c',
    500: '#c7a426',
    950: '#000000',
  },
}
SCSS
$custom: #c7a426;
$custom-light: #ddbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a426",
  "rgb": {
    "r": 199,
    "g": 164,
    "b": 38
  },
  "hsl": {
    "h": 46.957,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72999,
    "c": 0.13908,
    "h": 92.1
  },
  "luminance": 0.38833
}

Semantic roles & 50–950 ramp

primary
#C7A426
secondary
#798CCF
accent
#63EB3D
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #C7A426

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

Preview Lab → · Contrast checker → · Palette generator →

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