#C8CF42#C8CF42

#C8CF42 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.4% C 0.159 H 112.2°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#C8CF42
RGBrgb(200, 207, 66)
HSLhsl(63, 59%, 54%)
HSVhsv(63, 68%, 81%)
CMYKcmyk(3.4%, 0%, 68.1%, 18.8%)
CIE-LABlab(80.35, -19.58, 65.82)
CIE-LCHlch(80.35, 68.67, 106.56°)
OKLaboklab(82.39% -0.06 0.1472)
OKLCHoklch(82.39% 0.159 112.2)
XYZxyz(47.1170, 57.2994, 13.7311)
Luminance0.5730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CF42 #4942CF
analogous
#CF8F42 #C8CF42 #81CF42
triadic
#C8CF42 #42C8CF #CF42C8
tetradic
#C8CF42 #42CF8F #4942CF #CF4281
square
#C8CF42 #42CF8F #4942CF #CF4281
split-complementary
#C8CF42 #4281CF #8F42CF
monochromatic
#74781F #A3A92B #C8CF42 #D6DB73 #E4E8A4

Accessibility & contrast

On white

1.69
#C8CF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#C8CF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CF42
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CF42#FFFFFF#000000##000000
##C8CF421.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC62C
Deuteranopia (green-blind)
#DFC94C
Tritanopia (blue-blind)
#D5C3B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c8cf42;
/* rgb */ color: rgb(200, 207, 66);
/* oklch */ color: oklch(82.4% 0.159 112.2);
Tailwind
colors: {
  custom: {
    50: '#dcdd7f',
    500: '#c8cf42',
    950: '#000000',
  },
}
SCSS
$custom: #c8cf42;
$custom-light: #dcdd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cf42",
  "rgb": {
    "r": 200,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 62.979,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82385,
    "c": 0.15895,
    "h": 112.2
  },
  "luminance": 0.57298
}

Semantic roles & 50–950 ramp

primary
#C8CF42
secondary
#393580
accent
#45E34D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C8CF42

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

Preview Lab → · Contrast checker → · Palette generator →

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