#C1CF40#C1CF40

#C1CF40 is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.8% C 0.162 H 114.9°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#C1CF40
RGBrgb(193, 207, 64)
HSLhsl(66, 60%, 53%)
HSVhsv(66, 69%, 81%)
CMYKcmyk(6.8%, 0%, 69.1%, 18.8%)
CIE-LABlab(79.80, -22.58, 65.84)
CIE-LCHlch(79.80, 69.61, 108.93°)
OKLaboklab(81.81% -0.0682 0.1471)
OKLCHoklch(81.81% 0.162 114.9)
XYZxyz(45.2318, 56.3340, 13.3403)
Luminance0.5633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1CF40 #4E40CF
analogous
#CF9540 #C1CF40 #79CF40
triadic
#C1CF40 #40C1CF #CF40C1
tetradic
#C1CF40 #40CF95 #4E40CF #CF4079
square
#C1CF40 #40CF95 #4E40CF #CF4079
split-complementary
#C1CF40 #4079CF #9540CF
monochromatic
#6E771E #9BA82A #C1CF40 #D1DB71 #E1E8A2

Accessibility & contrast

On white

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

On black

12.27
#C1CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1CF40
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1CF40#FFFFFF#000000##000000
##C1CF401.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC529
Deuteranopia (green-blind)
#DDC74B
Tritanopia (blue-blind)
#CDC3B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c1cf40;
/* rgb */ color: rgb(193, 207, 64);
/* oklch */ color: oklch(81.8% 0.162 114.9);
Tailwind
colors: {
  custom: {
    50: '#d7dd7d',
    500: '#c1cf40',
    950: '#000000',
  },
}
SCSS
$custom: #c1cf40;
$custom-light: #d7dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c1cf40",
  "rgb": {
    "r": 193,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 65.874,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81814,
    "c": 0.16216,
    "h": 114.9
  },
  "luminance": 0.56333
}

Semantic roles & 50–950 ramp

primary
#C1CF40
secondary
#3B347F
accent
#45E354
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C1CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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