#C7C426#C7C426

#C7C426 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.8% C 0.163 H 108.4°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#C7C426
RGBrgb(199, 196, 38)
HSLhsl(59, 68%, 46%)
HSVhsv(59, 81%, 78%)
CMYKcmyk(0%, 1.5%, 80.9%, 22%)
CIE-LABlab(77.14, -15.72, 71.80)
CIE-LCHlch(77.14, 73.50, 102.35°)
OKLaboklab(79.75% -0.0516 0.155)
OKLCHoklch(79.75% 0.163 108.4)
XYZxyz(43.6447, 51.7634, 9.5257)
Luminance0.5176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C426 #2629C7
analogous
#C77426 #C7C426 #7AC726
triadic
#C7C426 #26C7C4 #C426C7
tetradic
#C7C426 #26C774 #2629C7 #C7267A
square
#C7C426 #26C774 #2629C7 #C7267A
split-complementary
#C7C426 #267AC7 #7426C7
monochromatic
#605F12 #94911C #C7C426 #DDDA4D #E7E581

Accessibility & contrast

On white

1.85
#C7C426 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#C7C426 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C426
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C426#FFFFFF#000000##000000
##C7C4261.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D7C135
Tritanopia (blue-blind)
#D6B7A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c7c426;
/* rgb */ color: rgb(199, 196, 38);
/* oklch */ color: oklch(79.8% 0.163 108.4);
Tailwind
colors: {
  custom: {
    50: '#dcd570',
    500: '#c7c426',
    950: '#000000',
  },
}
SCSS
$custom: #c7c426;
$custom-light: #dcd570;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c426",
  "rgb": {
    "r": 199,
    "g": 196,
    "b": 38
  },
  "hsl": {
    "h": 58.882,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.79754,
    "c": 0.16337,
    "h": 108.4
  },
  "luminance": 0.51762
}

Semantic roles & 50–950 ramp

primary
#C7C426
secondary
#26276B
accent
#40EB3D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C7C426

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

Preview Lab → · Contrast checker → · Palette generator →

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