#C7C74C#C7C74C

#C7C74C is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.7% C 0.144 H 109.2°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#C7C74C
RGBrgb(199, 199, 76)
HSLhsl(60, 52%, 54%)
HSVhsv(60, 62%, 78%)
CMYKcmyk(0%, 0%, 61.8%, 22%)
CIE-LABlab(78.18, -15.42, 59.59)
CIE-LCHlch(78.18, 61.55, 104.51°)
OKLaboklab(80.66% -0.0473 0.1356)
OKLCHoklch(80.66% 0.144 109.2)
XYZxyz(45.2825, 53.5120, 14.7796)
Luminance0.5351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C74C #4C4CC7
analogous
#C78A4C #C7C74C #8AC74C
triadic
#C7C74C #4CC7C7 #C74CC7
tetradic
#C7C74C #4CC78A #4C4CC7 #C74C8A
square
#C7C74C #4CC78A #4C4CC7 #C74C8A
split-complementary
#C7C74C #4C8AC7 #8A4CC7
monochromatic
#747424 #A3A333 #C7C74C #D6D67B #E4E4A9

Accessibility & contrast

On white

1.79
#C7C74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#C7C74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C74C
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C74C#FFFFFF#000000##000000
##C7C74C1.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3D
Deuteranopia (green-blind)
#D8C354
Tritanopia (blue-blind)
#D4BBAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c7c74c;
/* rgb */ color: rgb(199, 199, 76);
/* oklch */ color: oklch(80.7% 0.144 109.2);
Tailwind
colors: {
  custom: {
    50: '#dbd784',
    500: '#c7c74c',
    950: '#000000',
  },
}
SCSS
$custom: #c7c74c;
$custom-light: #dbd784;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c74c",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 76
  },
  "hsl": {
    "h": 60,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80655,
    "c": 0.1436,
    "h": 109.2
  },
  "luminance": 0.53511
}

Semantic roles & 50–950 ramp

primary
#C7C74C
secondary
#3A3A7D
accent
#4CDC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C74C

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

Preview Lab → · Contrast checker → · Palette generator →

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