#C2C248#C2C248

#C2C248 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.1% C 0.142 H 109.3°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#C2C248
RGBrgb(194, 194, 72)
HSLhsl(60, 50%, 52%)
HSVhsv(60, 63%, 76%)
CMYKcmyk(0%, 0%, 62.9%, 23.9%)
CIE-LABlab(76.39, -15.25, 59.24)
CIE-LCHlch(76.39, 61.17, 104.44°)
OKLaboklab(79.12% -0.0469 0.1344)
OKLCHoklch(79.12% 0.142 109.3)
XYZxyz(42.7110, 50.5220, 13.6315)
Luminance0.5052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C248 #4848C2
analogous
#C28548 #C2C248 #85C248
triadic
#C2C248 #48C2C2 #C248C2
tetradic
#C2C248 #48C285 #4848C2 #C24885
square
#C2C248 #48C285 #4848C2 #C24885
split-complementary
#C2C248 #4885C2 #8548C2
monochromatic
#6C6C24 #9A9A33 #C2C248 #D1D176 #E1E1A4

Accessibility & contrast

On white

1.89
#C2C248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#C2C248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C248
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C248#FFFFFF#000000##000000
##C2C2481.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA38
Deuteranopia (green-blind)
#D2BE50
Tritanopia (blue-blind)
#CFB6A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c248;
/* rgb */ color: rgb(194, 194, 72);
/* oklch */ color: oklch(79.1% 0.142 109.3);
Tailwind
colors: {
  custom: {
    50: '#d7d481',
    500: '#c2c248',
    950: '#000000',
  },
}
SCSS
$custom: #c2c248;
$custom-light: #d7d481;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c248",
  "rgb": {
    "r": 194,
    "g": 194,
    "b": 72
  },
  "hsl": {
    "h": 60,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79119,
    "c": 0.14236,
    "h": 109.3
  },
  "luminance": 0.50521
}

Semantic roles & 50–950 ramp

primary
#C2C248
secondary
#393976
accent
#4EDA4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C248

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

Preview Lab → · Contrast checker → · Palette generator →

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