#C2D248#C2D248

#C2D248 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.6% C 0.160 H 115.7°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#C2D248
RGBrgb(194, 210, 72)
HSLhsl(67, 61%, 55%)
HSVhsv(67, 66%, 82%)
CMYKcmyk(7.6%, 0%, 65.7%, 17.6%)
CIE-LABlab(80.76, -23.17, 63.80)
CIE-LCHlch(80.76, 67.87, 109.96°)
OKLaboklab(82.61% -0.0692 0.144)
OKLCHoklch(82.61% 0.16 115.7)
XYZxyz(46.4655, 58.0311, 14.8830)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D248 #5848D2
analogous
#D29D48 #C2D248 #7DD248
triadic
#C2D248 #48C2D2 #D248C2
tetradic
#C2D248 #48D29D #5848D2 #D2487D
square
#C2D248 #48D29D #5848D2 #D2487D
split-complementary
#C2D248 #487DD2 #9D48D2
monochromatic
#758020 #A2B12C #C2D248 #D2DE79 #E3EAAA

Accessibility & contrast

On white

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

On black

12.61
#C2D248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D248
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D248#FFFFFF#000000##000000
##C2D2481.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C835
Deuteranopia (green-blind)
#DFCA52
Tritanopia (blue-blind)
#CEC6B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c2d248;
/* rgb */ color: rgb(194, 210, 72);
/* oklch */ color: oklch(82.6% 0.160 115.7);
Tailwind
colors: {
  custom: {
    50: '#d8df82',
    500: '#c2d248',
    950: '#000000',
  },
}
SCSS
$custom: #c2d248;
$custom-light: #d8df82;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d248",
  "rgb": {
    "r": 194,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 66.957,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82614,
    "c": 0.15975,
    "h": 115.7
  },
  "luminance": 0.5803
}

Semantic roles & 50–950 ramp

primary
#C2D248
secondary
#403787
accent
#44E457
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D248

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

Preview Lab → · Contrast checker → · Palette generator →

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