#C3CF40#C3CF40

#C3CF40 is a light, vivid yellow. Relative luminance 0.566; OKLCH L 82.0% C 0.162 H 114.1°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#C3CF40
RGBrgb(195, 207, 64)
HSLhsl(65, 60%, 53%)
HSVhsv(65, 69%, 81%)
CMYKcmyk(5.8%, 0%, 69.1%, 18.8%)
CIE-LABlab(79.95, -21.75, 66.04)
CIE-LCHlch(79.95, 69.53, 108.23°)
OKLaboklab(81.97% -0.066 0.1475)
OKLCHoklch(81.97% 0.162 114.1)
XYZxyz(45.7452, 56.5988, 13.3644)
Luminance0.5660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CF40 #4C40CF
analogous
#CF9340 #C3CF40 #7BCF40
triadic
#C3CF40 #40C3CF #CF40C3
tetradic
#C3CF40 #40CF93 #4C40CF #CF407B
square
#C3CF40 #40CF93 #4C40CF #CF407B
split-complementary
#C3CF40 #407BCF #9340CF
monochromatic
#6F771E #9DA82A #C3CF40 #D2DB71 #E2E8A2

Accessibility & contrast

On white

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

On black

12.32
#C3CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3CF40
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3CF40#FFFFFF#000000##000000
##C3CF401.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3cf40;
/* rgb */ color: rgb(195, 207, 64);
/* oklch */ color: oklch(82.0% 0.162 114.1);
Tailwind
colors: {
  custom: {
    50: '#d9dd7d',
    500: '#c3cf40',
    950: '#000000',
  },
}
SCSS
$custom: #c3cf40;
$custom-light: #d9dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c3cf40",
  "rgb": {
    "r": 195,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 65.035,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81971,
    "c": 0.16158,
    "h": 114.1
  },
  "luminance": 0.56598
}

Semantic roles & 50–950 ramp

primary
#C3CF40
secondary
#3A347F
accent
#45E352
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C3CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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