#C7CF3F#C7CF3F

#C7CF3F 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#C7CF3F
RGBrgb(199, 207, 63)
HSLhsl(63, 60%, 53%)
HSVhsv(63, 70%, 81%)
CMYKcmyk(3.9%, 0%, 69.6%, 18.8%)
CIE-LABlab(80.25, -20.15, 66.80)
CIE-LCHlch(80.25, 69.78, 106.78°)
OKLaboklab(82.28% -0.0619 0.1488)
OKLCHoklch(82.28% 0.161 112.6)
XYZxyz(46.7646, 57.1277, 13.2650)
Luminance0.5713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF3F #473FCF
analogous
#CF8F3F #C7CF3F #7FCF3F
triadic
#C7CF3F #3FC7CF #CF3FC7
tetradic
#C7CF3F #3FCF8F #473FCF #CF3F7F
square
#C7CF3F #3FCF8F #473FCF #CF3F7F
split-complementary
#C7CF3F #3F7FCF #8F3FCF
monochromatic
#71761E #A0A72A #C7CF3F #D5DB70 #E4E7A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CF3F#FFFFFF#000000##000000
##C7CF3F1.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)
#DEC527
Deuteranopia (green-blind)
#DFC94A
Tritanopia (blue-blind)
#D4C3B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cf3f;
/* rgb */ color: rgb(199, 207, 63);
/* oklch */ color: oklch(82.3% 0.161 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbdd7d',
    500: '#c7cf3f',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf3f;
$custom-light: #dbdd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf3f",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 63
  },
  "hsl": {
    "h": 63.333,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82283,
    "c": 0.16114,
    "h": 112.6
  },
  "luminance": 0.57127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7CF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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