#C7C24A#C7C24A

#C7C24A is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.6% C 0.140 H 106.9°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#C7C24A
RGBrgb(199, 194, 74)
HSLhsl(58, 53%, 54%)
HSVhsv(58, 63%, 78%)
CMYKcmyk(0%, 2.5%, 62.8%, 22%)
CIE-LABlab(76.81, -13.02, 58.98)
CIE-LCHlch(76.81, 60.40, 102.45°)
OKLaboklab(79.56% -0.0407 0.134)
OKLCHoklch(79.56% 0.14 106.9)
XYZxyz(44.0825, 51.2215, 14.0419)
Luminance0.5122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C24A #4A4FC7
analogous
#C7834A #C7C24A #8DC74A
triadic
#C7C24A #4AC7C2 #C24AC7
tetradic
#C7C24A #4AC783 #4A4FC7 #C74A8D
square
#C7C24A #4AC783 #4A4FC7 #C74A8D
split-complementary
#C7C24A #4A8DC7 #834AC7
monochromatic
#737024 #A29D32 #C7C24A #D5D279 #E4E2A7

Accessibility & contrast

On white

1.87
#C7C24A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#C7C24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C24A
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C24A#FFFFFF#000000##000000
##C7C24A1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB3B
Deuteranopia (green-blind)
#D4C051
Tritanopia (blue-blind)
#D5B6A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c7c24a;
/* rgb */ color: rgb(199, 194, 74);
/* oklch */ color: oklch(79.6% 0.140 106.9);
Tailwind
colors: {
  custom: {
    50: '#dbd482',
    500: '#c7c24a',
    950: '#000000',
  },
}
SCSS
$custom: #c7c24a;
$custom-light: #dbd482;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c24a",
  "rgb": {
    "r": 199,
    "g": 194,
    "b": 74
  },
  "hsl": {
    "h": 57.6,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79562,
    "c": 0.14005,
    "h": 106.9
  },
  "luminance": 0.5122
}

Semantic roles & 50–950 ramp

primary
#C7C24A
secondary
#393C7C
accent
#51DC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C24A

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

Preview Lab → · Contrast checker → · Palette generator →

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