#C2CF30#C2CF30

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

Color values

HEX#C2CF30
RGBrgb(194, 207, 48)
HSLhsl(65, 62%, 50%)
HSVhsv(65, 77%, 81%)
CMYKcmyk(6.3%, 0%, 76.8%, 18.8%)
CIE-LABlab(79.79, -22.91, 71.20)
CIE-LCHlch(79.79, 74.79, 107.84°)
OKLaboklab(81.79% -0.0706 0.1557)
OKLCHoklch(81.79% 0.171 114.4)
XYZxyz(45.0958, 56.3093, 11.2889)
Luminance0.5631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF30 #3D30CF
analogous
#CF8D30 #C2CF30 #72CF30
triadic
#C2CF30 #30C2CF #CF30C2
tetradic
#C2CF30 #30CF8D #3D30CF #CF3072
square
#C2CF30 #30CF8D #3D30CF #CF3072
split-complementary
#C2CF30 #3072CF #8D30CF
monochromatic
#656C19 #939D24 #C2CF30 #D1DB62 #DFE693

Accessibility & contrast

On white

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

On black

12.26
#C2CF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CF30
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CF30#FFFFFF#000000##000000
##C2CF301.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC500
Deuteranopia (green-blind)
#DEC73F
Tritanopia (blue-blind)
#CFC3B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cf30;
/* rgb */ color: rgb(194, 207, 48);
/* oklch */ color: oklch(81.8% 0.171 114.4);
Tailwind
colors: {
  custom: {
    50: '#d8dd76',
    500: '#c2cf30',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf30;
$custom-light: #d8dd76;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf30",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 48
  },
  "hsl": {
    "h": 64.906,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.81793,
    "c": 0.17093,
    "h": 114.4
  },
  "luminance": 0.56308
}

Semantic roles & 50–950 ramp

primary
#C2CF30
secondary
#342E75
accent
#42E550
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C2CF30

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

Preview Lab → · Contrast checker → · Palette generator →

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