#C7CF46#C7CF46

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

Color values

HEX#C7CF46
RGBrgb(199, 207, 70)
HSLhsl(64, 59%, 54%)
HSVhsv(64, 66%, 81%)
CMYKcmyk(3.9%, 0%, 66.2%, 18.8%)
CIE-LABlab(80.30, -19.77, 64.22)
CIE-LCHlch(80.30, 67.20, 107.11°)
OKLaboklab(82.34% -0.0601 0.1445)
OKLCHoklch(82.34% 0.156 112.6)
XYZxyz(46.9728, 57.2110, 14.3616)
Luminance0.5721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF46 #4E46CF
analogous
#CF9346 #C7CF46 #82CF46
triadic
#C7CF46 #46C7CF #CF46C7
tetradic
#C7CF46 #46CF93 #4E46CF #CF4682
square
#C7CF46 #46CF93 #4E46CF #CF4682
split-complementary
#C7CF46 #4682CF #9346CF
monochromatic
#757B20 #A4AB2C #C7CF46 #D6DC77 #E4E8A7

Accessibility & contrast

On white

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

On black

12.44
#C7CF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF46
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF46#FFFFFF#000000##000000
##C7CF461.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7cf46;
/* rgb */ color: rgb(199, 207, 70);
/* oklch */ color: oklch(82.3% 0.156 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbdd81',
    500: '#c7cf46',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf46;
$custom-light: #dbdd81;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf46",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 63.504,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82335,
    "c": 0.15648,
    "h": 112.6
  },
  "luminance": 0.5721
}

Semantic roles & 50–950 ramp

primary
#C7CF46
secondary
#3B3683
accent
#46E24F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7CF46

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

Preview Lab → · Contrast checker → · Palette generator →

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