#C2CF54#C2CF54

#C2CF54 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.1% C 0.147 H 114.8°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#C2CF54
RGBrgb(194, 207, 84)
HSLhsl(66, 56%, 57%)
HSVhsv(66, 59%, 81%)
CMYKcmyk(6.3%, 0%, 59.4%, 18.8%)
CIE-LABlab(80.03, -20.90, 58.08)
CIE-LCHlch(80.03, 61.72, 109.79°)
OKLaboklab(82.06% -0.0616 0.1336)
OKLCHoklch(82.06% 0.147 114.8)
XYZxyz(46.1622, 56.7358, 16.9051)
Luminance0.5674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF54 #6154CF
analogous
#CF9E54 #C2CF54 #85CF54
triadic
#C2CF54 #54C2CF #CF54C2
tetradic
#C2CF54 #54CF9E #6154CF #CF5485
square
#C2CF54 #54CF9E #6154CF #CF5485
split-complementary
#C2CF54 #5485CF #9E54CF
monochromatic
#7A8425 #A6B332 #C2CF54 #D3DC84 #E4EAB4

Accessibility & contrast

On white

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

On black

12.35
#C2CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CF54
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CF54#FFFFFF#000000##000000
##C2CF541.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC546
Deuteranopia (green-blind)
#DCC85C
Tritanopia (blue-blind)
#CDC4B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cf54;
/* rgb */ color: rgb(194, 207, 84);
/* oklch */ color: oklch(82.1% 0.147 114.8);
Tailwind
colors: {
  custom: {
    50: '#d7dd89',
    500: '#c2cf54',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf54;
$custom-light: #d7dd89;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf54",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 66.341,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82063,
    "c": 0.14709,
    "h": 114.8
  },
  "luminance": 0.56735
}

Semantic roles & 50–950 ramp

primary
#C2CF54
secondary
#453C8B
accent
#48DF58
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CF54

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

Preview Lab → · Contrast checker → · Palette generator →

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