#C6CE2F#C6CE2F

#C6CE2F is a light, vivid yellow. Relative luminance 0.564; OKLCH L 81.9% C 0.169 H 112.6°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#C6CE2F
RGBrgb(198, 206, 47)
HSLhsl(63, 63%, 50%)
HSVhsv(63, 77%, 81%)
CMYKcmyk(3.9%, 0%, 77.2%, 19.2%)
CIE-LABlab(79.82, -20.79, 71.63)
CIE-LCHlch(79.82, 74.59, 106.19°)
OKLaboklab(81.89% -0.065 0.1563)
OKLCHoklch(81.89% 0.169 112.6)
XYZxyz(45.8746, 56.3547, 11.1498)
Luminance0.5635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CE2F #372FCE
analogous
#CE872F #C6CE2F #77CE2F
triadic
#C6CE2F #2FC6CE #CE2FC6
tetradic
#C6CE2F #2FCE87 #372FCE #CE2F77
square
#C6CE2F #2FCE87 #372FCE #CE2F77
split-complementary
#C6CE2F #2F77CE #872FCE
monochromatic
#666A18 #969C24 #C6CE2F #D4DB60 #E2E691

Accessibility & contrast

On white

1.71
#C6CE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#C6CE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CE2F
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CE2F#FFFFFF#000000##000000
##C6CE2F1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#DEC83D
Tritanopia (blue-blind)
#D4C1B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c6ce2f;
/* rgb */ color: rgb(198, 206, 47);
/* oklch */ color: oklch(81.9% 0.169 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbdc75',
    500: '#c6ce2f',
    950: '#000000',
  },
}
SCSS
$custom: #c6ce2f;
$custom-light: #dbdc75;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ce2f",
  "rgb": {
    "r": 198,
    "g": 206,
    "b": 47
  },
  "hsl": {
    "h": 63.019,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.81887,
    "c": 0.16925,
    "h": 112.6
  },
  "luminance": 0.56354
}

Semantic roles & 50–950 ramp

primary
#C6CE2F
secondary
#312D74
accent
#42E64A
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C6CE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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