#C7CF4F#C7CF4F

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

Color values

HEX#C7CF4F
RGBrgb(199, 207, 79)
HSLhsl(64, 57%, 56%)
HSVhsv(64, 62%, 81%)
CMYKcmyk(3.9%, 0%, 61.8%, 18.8%)
CIE-LABlab(80.37, -19.21, 60.67)
CIE-LCHlch(80.37, 63.64, 107.57°)
OKLaboklab(82.41% -0.0576 0.1383)
OKLCHoklch(82.41% 0.15 112.6)
XYZxyz(47.2785, 57.3333, 15.9715)
Luminance0.5733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF4F #574FCF
analogous
#CF974F #C7CF4F #87CF4F
triadic
#C7CF4F #4FC7CF #CF4FC7
tetradic
#C7CF4F #4FCF97 #574FCF #CF4F87
square
#C7CF4F #4FCF97 #574FCF #CF4F87
split-complementary
#C7CF4F #4F87CF #974FCF
monochromatic
#7B8123 #A9B130 #C7CF4F #D6DC7F #E6E9AF

Accessibility & contrast

On white

1.68
#C7CF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#C7CF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF4F
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF4F#FFFFFF#000000##000000
##C7CF4F1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7cf4f;
/* rgb */ color: rgb(199, 207, 79);
/* oklch */ color: oklch(82.4% 0.150 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbdd86',
    500: '#c7cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf4f;
$custom-light: #dbdd86;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf4f",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 63.75,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82412,
    "c": 0.14983,
    "h": 112.6
  },
  "luminance": 0.57332
}

Semantic roles & 50–950 ramp

primary
#C7CF4F
secondary
#3F3A88
accent
#47E051
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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