#C8CF38#C8CF38

#C8CF38 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.3% C 0.165 H 112.2°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#C8CF38
RGBrgb(200, 207, 56)
HSLhsl(63, 61%, 52%)
HSVhsv(63, 73%, 81%)
CMYKcmyk(3.4%, 0%, 72.9%, 18.8%)
CIE-LABlab(80.29, -20.07, 69.30)
CIE-LCHlch(80.29, 72.15, 106.15°)
OKLaboklab(82.32% -0.0623 0.1528)
OKLCHoklch(82.32% 0.165 112.2)
XYZxyz(46.8476, 57.1917, 12.3119)
Luminance0.5719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CF38 #3F38CF
analogous
#CF8A38 #C8CF38 #7DCF38
triadic
#C8CF38 #38C8CF #CF38C8
tetradic
#C8CF38 #38CF8A #3F38CF #CF387D
square
#C8CF38 #38CF8A #3F38CF #CF387D
split-complementary
#C8CF38 #387DCF #8A38CF
monochromatic
#6D711B #9DA327 #C8CF38 #D6DB69 #E3E79B

Accessibility & contrast

On white

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

On black

12.44
#C8CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CF38
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CF38#FFFFFF#000000##000000
##C8CF381.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8cf38;
/* rgb */ color: rgb(200, 207, 56);
/* oklch */ color: oklch(82.3% 0.165 112.2);
Tailwind
colors: {
  custom: {
    50: '#dcdd7a',
    500: '#c8cf38',
    950: '#000000',
  },
}
SCSS
$custom: #c8cf38;
$custom-light: #dcdd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cf38",
  "rgb": {
    "r": 200,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 62.781,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.82318,
    "c": 0.16506,
    "h": 112.2
  },
  "luminance": 0.57191
}

Semantic roles & 50–950 ramp

primary
#C8CF38
secondary
#34317A
accent
#44E44B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C8CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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