#C7CF4C#C7CF4C

#C7CF4C is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.4% C 0.152 H 112.6°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#C7CF4C
RGBrgb(199, 207, 76)
HSLhsl(64, 58%, 55%)
HSVhsv(64, 63%, 81%)
CMYKcmyk(3.9%, 0%, 63.3%, 18.8%)
CIE-LABlab(80.34, -19.40, 61.88)
CIE-LCHlch(80.34, 64.85, 107.41°)
OKLaboklab(82.39% -0.0585 0.1404)
OKLCHoklch(82.39% 0.152 112.6)
XYZxyz(47.1718, 57.2906, 15.4093)
Luminance0.5729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF4C #544CCF
analogous
#CF954C #C7CF4C #85CF4C
triadic
#C7CF4C #4CC7CF #CF4CC7
tetradic
#C7CF4C #4CCF95 #544CCF #CF4C85
square
#C7CF4C #4CCF95 #544CCF #CF4C85
split-complementary
#C7CF4C #4C85CF #954CCF
monochromatic
#797F22 #A7AF2F #C7CF4C #D6DC7C #E5E9AD

Accessibility & contrast

On white

1.69
#C7CF4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#C7CF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF4C
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF4C#FFFFFF#000000##000000
##C7CF4C1.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63B
Deuteranopia (green-blind)
#DEC955
Tritanopia (blue-blind)
#D4C3B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cf4c;
/* rgb */ color: rgb(199, 207, 76);
/* oklch */ color: oklch(82.4% 0.152 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbdd84',
    500: '#c7cf4c',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf4c;
$custom-light: #dbdd84;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf4c",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 76
  },
  "hsl": {
    "h": 63.664,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82385,
    "c": 0.15214,
    "h": 112.6
  },
  "luminance": 0.5729
}

Semantic roles & 50–950 ramp

primary
#C7CF4C
secondary
#3E3986
accent
#47E150
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7CF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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