#C2C848#C2C848

#C2C848 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.4% C 0.149 H 111.9°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#C2C848
RGBrgb(194, 200, 72)
HSLhsl(63, 54%, 53%)
HSVhsv(63, 64%, 78%)
CMYKcmyk(3%, 0%, 64%, 21.6%)
CIE-LABlab(78.02, -18.26, 60.95)
CIE-LCHlch(78.02, 63.63, 106.67°)
OKLaboklab(80.42% -0.0554 0.138)
OKLCHoklch(80.42% 0.149 111.9)
XYZxyz(44.0734, 53.2468, 14.0856)
Luminance0.5325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C848 #4E48C8
analogous
#C88E48 #C2C848 #82C848
triadic
#C2C848 #48C2C8 #C848C2
tetradic
#C2C848 #48C88E #4E48C8 #C84882
square
#C2C848 #48C88E #4E48C8 #C84882
split-complementary
#C2C848 #4882C8 #8E48C8
monochromatic
#6F7323 #9DA231 #C2C848 #D2D677 #E1E4A6

Accessibility & contrast

On white

1.80
#C2C848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#C2C848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C848
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C848#FFFFFF#000000##000000
##C2C8481.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF37
Deuteranopia (green-blind)
#D7C250
Tritanopia (blue-blind)
#CFBCAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c848;
/* rgb */ color: rgb(194, 200, 72);
/* oklch */ color: oklch(80.4% 0.149 111.9);
Tailwind
colors: {
  custom: {
    50: '#d7d881',
    500: '#c2c848',
    950: '#000000',
  },
}
SCSS
$custom: #c2c848;
$custom-light: #d7d881;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c848",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 72
  },
  "hsl": {
    "h": 62.813,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80423,
    "c": 0.14872,
    "h": 111.9
  },
  "luminance": 0.53246
}

Semantic roles & 50–950 ramp

primary
#C2C848
secondary
#3B387C
accent
#4BDD52
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C848

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

Preview Lab → · Contrast checker → · Palette generator →

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