#C7A926#C7A926

#C7A926 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.0% C 0.142 H 95.1°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#C7A926
RGBrgb(199, 169, 38)
HSLhsl(49, 68%, 46%)
HSVhsv(49, 81%, 78%)
CMYKcmyk(0%, 15.1%, 80.9%, 22%)
CIE-LABlab(69.94, -1.78, 65.55)
CIE-LCHlch(69.94, 65.57, 91.55°)
OKLaboklab(74.03% -0.0125 0.1415)
OKLCHoklch(74.03% 0.142 95.1)
XYZxyz(38.0932, 40.6602, 7.6751)
Luminance0.4066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A926 #2644C7
analogous
#C75926 #C7A926 #95C726
triadic
#C7A926 #26C7A9 #A926C7
tetradic
#C7A926 #26C759 #2644C7 #C72695
square
#C7A926 #26C759 #2644C7 #C72695
split-complementary
#C7A926 #2695C7 #5926C7
monochromatic
#605212 #947D1C #C7A926 #DDC24D #E7D481

Accessibility & contrast

On white

2.30
#C7A926 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#C7A926 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A926
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A926#FFFFFF#000000##000000
##C7A9261.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#C3AF30
Tritanopia (blue-blind)
#D89B91
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c7a926;
/* rgb */ color: rgb(199, 169, 38);
/* oklch */ color: oklch(74.0% 0.142 95.1);
Tailwind
colors: {
  custom: {
    50: '#ddc26d',
    500: '#c7a926',
    950: '#000000',
  },
}
SCSS
$custom: #c7a926;
$custom-light: #ddc26d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a926",
  "rgb": {
    "r": 199,
    "g": 169,
    "b": 38
  },
  "hsl": {
    "h": 48.82,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7403,
    "c": 0.14202,
    "h": 95.1
  },
  "luminance": 0.40658
}

Semantic roles & 50–950 ramp

primary
#C7A926
secondary
#7989CF
accent
#5DEB3D
background
#FEFBF6
surface
#FCF7EC
border
#D5D0C7
text
#161208
muted
#84817B

Preview Lab

Preview with #C7A926

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

Preview Lab → · Contrast checker → · Palette generator →

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