#C7CF5F#C7CF5F

#C7CF5F is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.6% C 0.136 H 112.7°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#C7CF5F
RGBrgb(199, 207, 95)
HSLhsl(64, 54%, 59%)
HSVhsv(64, 54%, 81%)
CMYKcmyk(3.9%, 0%, 54.1%, 18.8%)
CIE-LABlab(80.51, -18.02, 53.83)
CIE-LCHlch(80.51, 56.77, 108.51°)
OKLaboklab(82.58% -0.0526 0.1257)
OKLCHoklch(82.58% 0.136 112.7)
XYZxyz(47.9326, 57.5949, 19.4162)
Luminance0.5759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF5F #675FCF
analogous
#CF9F5F #C7CF5F #8FCF5F
triadic
#C7CF5F #5FC7CF #CF5FC7
tetradic
#C7CF5F #5FCF9F #675FCF #CF5F8F
square
#C7CF5F #5FCF9F #675FCF #CF5F8F
split-complementary
#C7CF5F #5F8FCF #9F5FCF
monochromatic
#838A29 #B0B938 #C7CF5F #D7DD8E #E8EBBD

Accessibility & contrast

On white

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

On black

12.52
#C7CF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF5F
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF5F#FFFFFF#000000##000000
##C7CF5F1.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC654
Deuteranopia (green-blind)
#DDC965
Tritanopia (blue-blind)
#D3C4B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c7cf5f;
/* rgb */ color: rgb(199, 207, 95);
/* oklch */ color: oklch(82.6% 0.136 112.7);
Tailwind
colors: {
  custom: {
    50: '#dadd90',
    500: '#c7cf5f',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf5f;
$custom-light: #dadd90;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf5f",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 64.286,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82576,
    "c": 0.13625,
    "h": 112.7
  },
  "luminance": 0.57594
}

Semantic roles & 50–950 ramp

primary
#C7CF5F
secondary
#474191
accent
#4BDD55
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7CF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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