#C6CE2B#C6CE2B

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

Color values

HEX#C6CE2B
RGBrgb(198, 206, 43)
HSLhsl(63, 65%, 49%)
HSVhsv(63, 79%, 81%)
CMYKcmyk(3.9%, 0%, 79.1%, 19.2%)
CIE-LABlab(79.80, -20.93, 72.75)
CIE-LCHlch(79.80, 75.70, 106.05°)
OKLaboklab(81.87% -0.0657 0.158)
OKLCHoklch(81.87% 0.171 112.6)
XYZxyz(45.7976, 56.3239, 10.7441)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CE2B #332BCE
analogous
#CE852B #C6CE2B #75CE2B
triadic
#C6CE2B #2BC6CE #CE2BC6
tetradic
#C6CE2B #2BCE85 #332BCE #CE2B75
square
#C6CE2B #2BCE85 #332BCE #CE2B75
split-complementary
#C6CE2B #2B75CE #852BCE
monochromatic
#656916 #959B20 #C6CE2B #D6DC5A #E3E78C

Accessibility & contrast

On white

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

On black

12.26
#C6CE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CE2B
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CE2B#FFFFFF#000000##000000
##C6CE2B1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6ce2b;
/* rgb */ color: rgb(198, 206, 43);
/* oklch */ color: oklch(81.9% 0.171 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbdc74',
    500: '#c6ce2b',
    950: '#000000',
  },
}
SCSS
$custom: #c6ce2b;
$custom-light: #dbdc74;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ce2b",
  "rgb": {
    "r": 198,
    "g": 206,
    "b": 43
  },
  "hsl": {
    "h": 62.945,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81868,
    "c": 0.17107,
    "h": 112.6
  },
  "luminance": 0.56323
}

Semantic roles & 50–950 ramp

primary
#C6CE2B
secondary
#2E2B73
accent
#3FE848
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #C6CE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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