#C7CF4E#C7CF4E

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

Color values

HEX#C7CF4E
RGBrgb(199, 207, 78)
HSLhsl(64, 57%, 56%)
HSVhsv(64, 62%, 81%)
CMYKcmyk(3.9%, 0%, 62.3%, 18.8%)
CIE-LABlab(80.36, -19.27, 61.08)
CIE-LCHlch(80.36, 64.05, 107.51°)
OKLaboklab(82.4% -0.0579 0.139)
OKLCHoklch(82.4% 0.151 112.6)
XYZxyz(47.2424, 57.3188, 15.7812)
Luminance0.5732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF4E #564ECF
analogous
#CF964E #C7CF4E #86CF4E
triadic
#C7CF4E #4EC7CF #CF4EC7
tetradic
#C7CF4E #4ECF96 #564ECF #CF4E86
square
#C7CF4E #4ECF96 #564ECF #CF4E86
split-complementary
#C7CF4E #4E86CF #964ECF
monochromatic
#7A8023 #A8B030 #C7CF4E #D6DC7E #E5E9AE

Accessibility & contrast

On white

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

On black

12.46
#C7CF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF4E
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF4E#FFFFFF#000000##000000
##C7CF4E1.001.6812.4612.46
#FFFFFF1.681.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7cf4e;
/* rgb */ color: rgb(199, 207, 78);
/* oklch */ color: oklch(82.4% 0.151 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbdd85',
    500: '#c7cf4e',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf4e;
$custom-light: #dbdd85;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf4e",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 78
  },
  "hsl": {
    "h": 63.721,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82403,
    "c": 0.15061,
    "h": 112.6
  },
  "luminance": 0.57318
}

Semantic roles & 50–950 ramp

primary
#C7CF4E
secondary
#3F3A87
accent
#47E151
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7CF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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