#C6CF38#C6CF38

#C6CF38 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.2% C 0.166 H 113.0°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#C6CF38
RGBrgb(198, 207, 56)
HSLhsl(64, 61%, 52%)
HSVhsv(64, 73%, 81%)
CMYKcmyk(4.3%, 0%, 72.9%, 18.8%)
CIE-LABlab(80.13, -20.91, 69.10)
CIE-LCHlch(80.13, 72.19, 106.83°)
OKLaboklab(82.16% -0.0646 0.1525)
OKLCHoklch(82.16% 0.166 113)
XYZxyz(46.3168, 56.9180, 12.2870)
Luminance0.5692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CF38 #4138CF
analogous
#CF8D38 #C6CF38 #7BCF38
triadic
#C6CF38 #38C6CF #CF38C6
tetradic
#C6CF38 #38CF8D #4138CF #CF387B
square
#C6CF38 #38CF8D #4138CF #CF387B
split-complementary
#C6CF38 #387BCF #8D38CF
monochromatic
#6C711B #9BA327 #C6CF38 #D4DB69 #E2E79B

Accessibility & contrast

On white

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

On black

12.38
#C6CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CF38
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CF38#FFFFFF#000000##000000
##C6CF381.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC518
Deuteranopia (green-blind)
#DFC844
Tritanopia (blue-blind)
#D3C2B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c6cf38;
/* rgb */ color: rgb(198, 207, 56);
/* oklch */ color: oklch(82.2% 0.166 113.0);
Tailwind
colors: {
  custom: {
    50: '#dbdd79',
    500: '#c6cf38',
    950: '#000000',
  },
}
SCSS
$custom: #c6cf38;
$custom-light: #dbdd79;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cf38",
  "rgb": {
    "r": 198,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 63.576,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.82157,
    "c": 0.16558,
    "h": 113
  },
  "luminance": 0.56917
}

Semantic roles & 50–950 ramp

primary
#C6CF38
secondary
#35317A
accent
#44E44D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C6CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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