#C7CF3E#C7CF3E

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

Color values

HEX#C7CF3E
RGBrgb(199, 207, 62)
HSLhsl(63, 60%, 53%)
HSVhsv(63, 70%, 81%)
CMYKcmyk(3.9%, 0%, 70%, 18.8%)
CIE-LABlab(80.25, -20.20, 67.16)
CIE-LCHlch(80.25, 70.13, 106.74°)
OKLaboklab(82.28% -0.0621 0.1494)
OKLCHoklch(82.28% 0.162 112.6)
XYZxyz(46.7369, 57.1166, 13.1191)
Luminance0.5712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF3E #463ECF
analogous
#CF8E3E #C7CF3E #7FCF3E
triadic
#C7CF3E #3EC7CF #CF3EC7
tetradic
#C7CF3E #3ECF8E #463ECF #CF3E7F
square
#C7CF3E #3ECF8E #463ECF #CF3E7F
split-complementary
#C7CF3E #3E7FCF #8E3ECF
monochromatic
#71751D #A0A629 #C7CF3E #D5DB6F #E3E7A0

Accessibility & contrast

On white

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

On black

12.42
#C7CF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF3E
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF3E#FFFFFF#000000##000000
##C7CF3E1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7cf3e;
/* rgb */ color: rgb(199, 207, 62);
/* oklch */ color: oklch(82.3% 0.162 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbdd7c',
    500: '#c7cf3e',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf3e;
$custom-light: #dbdd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf3e",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 62
  },
  "hsl": {
    "h": 63.31,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.82276,
    "c": 0.16176,
    "h": 112.6
  },
  "luminance": 0.57116
}

Semantic roles & 50–950 ramp

primary
#C7CF3E
secondary
#37337E
accent
#44E34D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7CF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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