#C2C149#C2C149

#C2C149 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#C2C149
RGBrgb(194, 193, 73)
HSLhsl(60, 50%, 52%)
HSVhsv(60, 62%, 76%)
CMYKcmyk(0%, 0.5%, 62.4%, 23.9%)
CIE-LABlab(76.13, -14.68, 58.54)
CIE-LCHlch(76.13, 60.36, 104.08°)
OKLaboklab(78.91% -0.0452 0.1331)
OKLCHoklch(78.91% 0.141 108.8)
XYZxyz(42.5220, 50.0915, 13.7307)
Luminance0.5009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C149 #494AC2
analogous
#C28449 #C2C149 #87C249
triadic
#C2C149 #49C2C1 #C149C2
tetradic
#C2C149 #49C284 #494AC2 #C24987
square
#C2C149 #49C284 #494AC2 #C24987
split-complementary
#C2C149 #4987C2 #8449C2
monochromatic
#6C6C24 #9A9934 #C2C149 #D1D177 #E1E0A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C149#FFFFFF#000000##000000
##C2C1491.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)
#D0B93A
Deuteranopia (green-blind)
#D2BE50
Tritanopia (blue-blind)
#CFB5A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c149;
/* rgb */ color: rgb(194, 193, 73);
/* oklch */ color: oklch(78.9% 0.141 108.8);
Tailwind
colors: {
  custom: {
    50: '#d7d381',
    500: '#c2c149',
    950: '#000000',
  },
}
SCSS
$custom: #c2c149;
$custom-light: #d7d381;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c149",
  "rgb": {
    "r": 194,
    "g": 193,
    "b": 73
  },
  "hsl": {
    "h": 59.504,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78912,
    "c": 0.14055,
    "h": 108.8
  },
  "luminance": 0.5009
}

Semantic roles & 50–950 ramp

primary
#C2C149
secondary
#393A76
accent
#50D94E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C149

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

Preview Lab → · Contrast checker → · Palette generator →

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