#C7C726#C7C726

#C7C726 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.4% C 0.166 H 109.6°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#C7C726
RGBrgb(199, 199, 38)
HSLhsl(60, 68%, 46%)
HSVhsv(60, 81%, 78%)
CMYKcmyk(0%, 0%, 80.9%, 22%)
CIE-LABlab(77.95, -17.22, 72.50)
CIE-LCHlch(77.95, 74.51, 103.36°)
OKLaboklab(80.4% -0.0558 0.1565)
OKLCHoklch(80.4% 0.166 109.6)
XYZxyz(44.3282, 53.1303, 9.7535)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C726 #2626C7
analogous
#C77726 #C7C726 #77C726
triadic
#C7C726 #26C7C7 #C726C7
tetradic
#C7C726 #26C777 #2626C7 #C72677
square
#C7C726 #26C777 #2626C7 #C72677
split-complementary
#C7C726 #2677C7 #7726C7
monochromatic
#606012 #94941C #C7C726 #DDDD4D #E7E781

Accessibility & contrast

On white

1.81
#C7C726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#C7C726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C726
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C726#FFFFFF#000000##000000
##C7C7261.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D9C336
Tritanopia (blue-blind)
#D6BAAA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c7c726;
/* rgb */ color: rgb(199, 199, 38);
/* oklch */ color: oklch(80.4% 0.166 109.6);
Tailwind
colors: {
  custom: {
    50: '#dcd771',
    500: '#c7c726',
    950: '#000000',
  },
}
SCSS
$custom: #c7c726;
$custom-light: #dcd771;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c726",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.80404,
    "c": 0.16616,
    "h": 109.6
  },
  "luminance": 0.53129
}

Semantic roles & 50–950 ramp

primary
#C7C726
secondary
#26266B
accent
#3DEB3D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C726

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

Preview Lab → · Contrast checker → · Palette generator →

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