#C2D233#C2D233

#C2D233 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.5% C 0.173 H 115.4°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#C2D233
RGBrgb(194, 210, 51)
HSLhsl(66, 64%, 51%)
HSVhsv(66, 76%, 82%)
CMYKcmyk(7.6%, 0%, 75.7%, 17.6%)
CIE-LABlab(80.63, -24.24, 71.06)
CIE-LCHlch(80.63, 75.08, 108.84°)
OKLaboklab(82.47% -0.074 0.1559)
OKLCHoklch(82.47% 0.173 115.4)
XYZxyz(45.8936, 57.8023, 11.8707)
Luminance0.5780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D233 #4333D2
analogous
#D29233 #C2D233 #72D233
triadic
#C2D233 #33C2D2 #D233C2
tetradic
#C2D233 #33D292 #4333D2 #D23372
square
#C2D233 #33D292 #4333D2 #D23372
split-complementary
#C2D233 #3372D2 #9233D2
monochromatic
#697219 #97A424 #C2D233 #D1DD65 #E0E897

Accessibility & contrast

On white

1.67
#C2D233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#C2D233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D233
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D233#FFFFFF#000000##000000
##C2D2331.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C706
Deuteranopia (green-blind)
#E0C941
Tritanopia (blue-blind)
#CFC6B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c2d233;
/* rgb */ color: rgb(194, 210, 51);
/* oklch */ color: oklch(82.5% 0.173 115.4);
Tailwind
colors: {
  custom: {
    50: '#d8df77',
    500: '#c2d233',
    950: '#000000',
  },
}
SCSS
$custom: #c2d233;
$custom-light: #d8df77;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d233",
  "rgb": {
    "r": 194,
    "g": 210,
    "b": 51
  },
  "hsl": {
    "h": 66.038,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.82471,
    "c": 0.17258,
    "h": 115.4
  },
  "luminance": 0.57802
}

Semantic roles & 50–950 ramp

primary
#C2D233
secondary
#362F7A
accent
#41E752
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2D233

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

Preview Lab → · Contrast checker → · Palette generator →

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