#C6CF2F#C6CF2F

#C6CF2F is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.1% C 0.170 H 112.9°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#C6CF2F
RGBrgb(198, 207, 47)
HSLhsl(63, 63%, 50%)
HSVhsv(63, 77%, 81%)
CMYKcmyk(4.3%, 0%, 77.3%, 18.8%)
CIE-LABlab(80.09, -21.28, 71.88)
CIE-LCHlch(80.09, 74.96, 106.49°)
OKLaboklab(82.11% -0.0664 0.1568)
OKLCHoklch(82.11% 0.17 112.9)
XYZxyz(46.1161, 56.8377, 11.2303)
Luminance0.5684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CF2F #382FCF
analogous
#CF882F #C6CF2F #76CF2F
triadic
#C6CF2F #2FC6CF #CF2FC6
tetradic
#C6CF2F #2FCF88 #382FCF #CF2F76
square
#C6CF2F #2FCF88 #382FCF #CF2F76
split-complementary
#C6CF2F #2F76CF #882FCF
monochromatic
#676B18 #969D24 #C6CF2F #D4DB60 #E2E692

Accessibility & contrast

On white

1.70
#C6CF2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#C6CF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CF2F
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CF2F#FFFFFF#000000##000000
##C6CF2F1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC500
Deuteranopia (green-blind)
#DFC83E
Tritanopia (blue-blind)
#D4C2B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c6cf2f;
/* rgb */ color: rgb(198, 207, 47);
/* oklch */ color: oklch(82.1% 0.170 112.9);
Tailwind
colors: {
  custom: {
    50: '#dbdd75',
    500: '#c6cf2f',
    950: '#000000',
  },
}
SCSS
$custom: #c6cf2f;
$custom-light: #dbdd75;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cf2f",
  "rgb": {
    "r": 198,
    "g": 207,
    "b": 47
  },
  "hsl": {
    "h": 63.375,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.82106,
    "c": 0.17025,
    "h": 112.9
  },
  "luminance": 0.56837
}

Semantic roles & 50–950 ramp

primary
#C6CF2F
secondary
#312D75
accent
#42E64B
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C6CF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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