#C2C150#C2C150

#C2C150 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.0% C 0.135 H 108.7°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#C2C150
RGBrgb(194, 193, 80)
HSLhsl(59, 48%, 54%)
HSVhsv(59, 59%, 76%)
CMYKcmyk(0%, 0.5%, 58.8%, 23.9%)
CIE-LABlab(76.19, -14.21, 55.59)
CIE-LCHlch(76.19, 57.38, 104.34°)
OKLaboklab(78.98% -0.0431 0.1278)
OKLCHoklch(78.98% 0.135 108.7)
XYZxyz(42.7673, 50.1896, 15.0226)
Luminance0.5019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C150 #5051C2
analogous
#C28850 #C2C150 #8AC250
triadic
#C2C150 #50C2C1 #C150C2
tetradic
#C2C150 #50C288 #5051C2 #C2508A
square
#C2C150 #50C288 #5051C2 #C2508A
split-complementary
#C2C150 #508AC2 #8850C2
monochromatic
#707027 #9E9D37 #C2C150 #D2D17D #E2E1AB

Accessibility & contrast

On white

1.90
#C2C150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#C2C150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C150
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C150#FFFFFF#000000##000000
##C2C1501.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c150;
/* rgb */ color: rgb(194, 193, 80);
/* oklch */ color: oklch(79.0% 0.135 108.7);
Tailwind
colors: {
  custom: {
    50: '#d7d385',
    500: '#c2c150',
    950: '#000000',
  },
}
SCSS
$custom: #c2c150;
$custom-light: #d7d385;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c150",
  "rgb": {
    "r": 194,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 59.474,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78979,
    "c": 0.13486,
    "h": 108.7
  },
  "luminance": 0.50188
}

Semantic roles & 50–950 ramp

primary
#C2C150
secondary
#3C3D7A
accent
#51D850
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C150

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

Preview Lab → · Contrast checker → · Palette generator →

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