#C2C148#C2C148

#C2C148 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.9% C 0.141 H 108.8°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#C2C148
RGBrgb(194, 193, 72)
HSLhsl(60, 50%, 52%)
HSVhsv(60, 63%, 76%)
CMYKcmyk(0%, 0.5%, 62.9%, 23.9%)
CIE-LABlab(76.12, -14.75, 58.95)
CIE-LCHlch(76.12, 60.77, 104.04°)
OKLaboklab(78.9% -0.0455 0.1338)
OKLCHoklch(78.9% 0.141 108.8)
XYZxyz(42.4892, 50.0784, 13.5575)
Luminance0.5008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C148 #4849C2
analogous
#C28448 #C2C148 #86C248
triadic
#C2C148 #48C2C1 #C148C2
tetradic
#C2C148 #48C284 #4849C2 #C24886
square
#C2C148 #48C284 #4849C2 #C24886
split-complementary
#C2C148 #4886C2 #8448C2
monochromatic
#6C6B24 #9A9933 #C2C148 #D1D176 #E1E0A4

Accessibility & contrast

On white

1.91
#C2C148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#C2C148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C148
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C148#FFFFFF#000000##000000
##C2C1481.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c148;
/* rgb */ color: rgb(194, 193, 72);
/* oklch */ color: oklch(78.9% 0.141 108.8);
Tailwind
colors: {
  custom: {
    50: '#d7d381',
    500: '#c2c148',
    950: '#000000',
  },
}
SCSS
$custom: #c2c148;
$custom-light: #d7d381;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c148",
  "rgb": {
    "r": 194,
    "g": 193,
    "b": 72
  },
  "hsl": {
    "h": 59.508,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78903,
    "c": 0.14132,
    "h": 108.8
  },
  "luminance": 0.50077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2C148

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

Preview Lab → · Contrast checker → · Palette generator →

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