#C7CF4D#C7CF4D

#C7CF4D 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#C7CF4D
RGBrgb(199, 207, 77)
HSLhsl(64, 58%, 56%)
HSVhsv(64, 63%, 81%)
CMYKcmyk(3.9%, 0%, 62.8%, 18.8%)
CIE-LABlab(80.35, -19.34, 61.48)
CIE-LCHlch(80.35, 64.45, 107.46°)
OKLaboklab(82.39% -0.0582 0.1397)
OKLCHoklch(82.39% 0.151 112.6)
XYZxyz(47.2068, 57.3046, 15.5939)
Luminance0.5730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF4D #554DCF
analogous
#CF964D #C7CF4D #86CF4D
triadic
#C7CF4D #4DC7CF #CF4DC7
tetradic
#C7CF4D #4DCF96 #554DCF #CF4D86
square
#C7CF4D #4DCF96 #554DCF #CF4D86
split-complementary
#C7CF4D #4D86CF #964DCF
monochromatic
#7A7F22 #A8AF2F #C7CF4D #D6DC7D #E5E9AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CF4D#FFFFFF#000000##000000
##C7CF4D1.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7cf4d;
/* rgb */ color: rgb(199, 207, 77);
/* oklch */ color: oklch(82.4% 0.151 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbdd85',
    500: '#c7cf4d',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf4d;
$custom-light: #dbdd85;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf4d",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 77
  },
  "hsl": {
    "h": 63.692,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82394,
    "c": 0.15138,
    "h": 112.6
  },
  "luminance": 0.57304
}

Semantic roles & 50–950 ramp

primary
#C7CF4D
secondary
#3E3987
accent
#47E150
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7CF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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