#C1CF38#C1CF38

#C1CF38 is a light, vivid yellow. Relative luminance 0.562; OKLCH L 81.8% C 0.167 H 114.8°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#C1CF38
RGBrgb(193, 207, 56)
HSLhsl(66, 61%, 52%)
HSVhsv(66, 73%, 81%)
CMYKcmyk(6.8%, 0%, 72.9%, 18.8%)
CIE-LABlab(79.76, -22.98, 68.61)
CIE-LCHlch(79.76, 72.36, 108.52°)
OKLaboklab(81.76% -0.0701 0.1516)
OKLCHoklch(81.76% 0.167 114.8)
XYZxyz(45.0202, 56.2494, 12.2262)
Luminance0.5625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1CF38 #4638CF
analogous
#CF9238 #C1CF38 #76CF38
triadic
#C1CF38 #38C1CF #CF38C1
tetradic
#C1CF38 #38CF92 #4638CF #CF3876
square
#C1CF38 #38CF92 #4638CF #CF3876
split-complementary
#C1CF38 #3876CF #9238CF
monochromatic
#69711B #97A327 #C1CF38 #D0DB69 #E0E79B

Accessibility & contrast

On white

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

On black

12.25
#C1CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1CF38
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1CF38#FFFFFF#000000##000000
##C1CF381.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC519
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#CEC3B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c1cf38;
/* rgb */ color: rgb(193, 207, 56);
/* oklch */ color: oklch(81.8% 0.167 114.8);
Tailwind
colors: {
  custom: {
    50: '#d7dd79',
    500: '#c1cf38',
    950: '#000000',
  },
}
SCSS
$custom: #c1cf38;
$custom-light: #d7dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#c1cf38",
  "rgb": {
    "r": 193,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 65.563,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.8176,
    "c": 0.167,
    "h": 114.8
  },
  "luminance": 0.56249
}

Semantic roles & 50–950 ramp

primary
#C1CF38
secondary
#38317A
accent
#44E452
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C1CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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