#C2CF37#C2CF37

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

Color values

HEX#C2CF37
RGBrgb(194, 207, 55)
HSLhsl(65, 61%, 51%)
HSVhsv(65, 73%, 81%)
CMYKcmyk(6.3%, 0%, 73.4%, 18.8%)
CIE-LABlab(79.82, -22.61, 69.03)
CIE-LCHlch(79.82, 72.64, 108.14°)
OKLaboklab(81.83% -0.0692 0.1523)
OKLCHoklch(81.83% 0.167 114.4)
XYZxyz(45.2519, 56.3717, 12.1107)
Luminance0.5637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF37 #4437CF
analogous
#CF9037 #C2CF37 #76CF37
triadic
#C2CF37 #37C2CF #CF37C2
tetradic
#C2CF37 #37CF90 #4437CF #CF3776
square
#C2CF37 #37CF90 #4437CF #CF3776
split-complementary
#C2CF37 #3776CF #9037CF
monochromatic
#69711B #97A227 #C2CF37 #D1DB68 #E0E79A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CF37#FFFFFF#000000##000000
##C2CF371.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)
#DEC516
Deuteranopia (green-blind)
#DDC744
Tritanopia (blue-blind)
#CFC3B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cf37;
/* rgb */ color: rgb(194, 207, 55);
/* oklch */ color: oklch(81.8% 0.167 114.4);
Tailwind
colors: {
  custom: {
    50: '#d8dd79',
    500: '#c2cf37',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf37;
$custom-light: #d8dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf37",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 55
  },
  "hsl": {
    "h": 65.132,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81833,
    "c": 0.16727,
    "h": 114.4
  },
  "luminance": 0.56371
}

Semantic roles & 50–950 ramp

primary
#C2CF37
secondary
#37317A
accent
#43E451
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2CF37

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

Preview Lab → · Contrast checker → · Palette generator →

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