#C7CF40#C7CF40

#C7CF40 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.3% C 0.161 H 112.6°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#C7CF40
RGBrgb(199, 207, 64)
HSLhsl(63, 60%, 53%)
HSVhsv(63, 69%, 81%)
CMYKcmyk(3.9%, 0%, 69.1%, 18.8%)
CIE-LABlab(80.26, -20.10, 66.45)
CIE-LCHlch(80.26, 69.42, 106.83°)
OKLaboklab(82.29% -0.0616 0.1482)
OKLCHoklch(82.29% 0.161 112.6)
XYZxyz(46.7928, 57.1390, 13.4135)
Luminance0.5714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF40 #4840CF
analogous
#CF9040 #C7CF40 #7FCF40
triadic
#C7CF40 #40C7CF #CF40C7
tetradic
#C7CF40 #40CF90 #4840CF #CF407F
square
#C7CF40 #40CF90 #4840CF #CF407F
split-complementary
#C7CF40 #407FCF #9040CF
monochromatic
#72771E #A1A82A #C7CF40 #D5DB71 #E4E8A2

Accessibility & contrast

On white

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

On black

12.43
#C7CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF40
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF40#FFFFFF#000000##000000
##C7CF401.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC529
Deuteranopia (green-blind)
#DFC94B
Tritanopia (blue-blind)
#D4C3B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cf40;
/* rgb */ color: rgb(199, 207, 64);
/* oklch */ color: oklch(82.3% 0.161 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbdd7e',
    500: '#c7cf40',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf40;
$custom-light: #dbdd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf40",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 63.357,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.8229,
    "c": 0.1605,
    "h": 112.6
  },
  "luminance": 0.57138
}

Semantic roles & 50–950 ramp

primary
#C7CF40
secondary
#38347F
accent
#45E34E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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