#C7C626#C7C626

#C7C626 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.2% C 0.165 H 109.2°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#C7C626
RGBrgb(199, 198, 38)
HSLhsl(60, 68%, 46%)
HSVhsv(60, 81%, 78%)
CMYKcmyk(0%, 0.5%, 80.9%, 22%)
CIE-LABlab(77.68, -16.72, 72.27)
CIE-LCHlch(77.68, 74.17, 103.03°)
OKLaboklab(80.19% -0.0544 0.156)
OKLCHoklch(80.19% 0.165 109.2)
XYZxyz(44.0989, 52.6716, 9.6770)
Luminance0.5267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C626 #2627C7
analogous
#C77626 #C7C626 #78C726
triadic
#C7C626 #26C7C6 #C626C7
tetradic
#C7C626 #26C776 #2627C7 #C72678
square
#C7C626 #26C776 #2627C7 #C72678
split-complementary
#C7C626 #2678C7 #7626C7
monochromatic
#606012 #94931C #C7C626 #DDDC4D #E7E681

Accessibility & contrast

On white

1.82
#C7C626 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#C7C626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C626
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C626#FFFFFF#000000##000000
##C7C6261.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BD00
Deuteranopia (green-blind)
#D9C236
Tritanopia (blue-blind)
#D6B9A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c7c626;
/* rgb */ color: rgb(199, 198, 38);
/* oklch */ color: oklch(80.2% 0.165 109.2);
Tailwind
colors: {
  custom: {
    50: '#dcd771',
    500: '#c7c626',
    950: '#000000',
  },
}
SCSS
$custom: #c7c626;
$custom-light: #dcd771;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c626",
  "rgb": {
    "r": 199,
    "g": 198,
    "b": 38
  },
  "hsl": {
    "h": 59.627,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.80187,
    "c": 0.16521,
    "h": 109.2
  },
  "luminance": 0.5267
}

Semantic roles & 50–950 ramp

primary
#C7C626
secondary
#26276B
accent
#3EEB3D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C626

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

Preview Lab → · Contrast checker → · Palette generator →

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