#C2C145#C2C145

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

Color values

HEX#C2C145
RGBrgb(194, 193, 69)
HSLhsl(60, 51%, 52%)
HSVhsv(60, 64%, 76%)
CMYKcmyk(0%, 0.5%, 64.4%, 23.9%)
CIE-LABlab(76.09, -14.93, 60.16)
CIE-LCHlch(76.09, 61.99, 103.94°)
OKLaboklab(78.88% -0.0464 0.1359)
OKLCHoklch(78.88% 0.144 108.8)
XYZxyz(42.3937, 50.0402, 13.0546)
Luminance0.5004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C145 #4546C2
analogous
#C28345 #C2C145 #85C245
triadic
#C2C145 #45C2C1 #C145C2
tetradic
#C2C145 #45C283 #4546C2 #C24585
square
#C2C145 #45C283 #4546C2 #C24585
split-complementary
#C2C145 #4585C2 #8345C2
monochromatic
#6A6923 #989732 #C2C145 #D1D073 #E0E0A1

Accessibility & contrast

On white

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

On black

11.01
#C2C145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C145
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C145#FFFFFF#000000##000000
##C2C1451.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c145;
/* rgb */ color: rgb(194, 193, 69);
/* oklch */ color: oklch(78.9% 0.144 108.8);
Tailwind
colors: {
  custom: {
    50: '#d7d37f',
    500: '#c2c145',
    950: '#000000',
  },
}
SCSS
$custom: #c2c145;
$custom-light: #d7d37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c145",
  "rgb": {
    "r": 194,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 59.52,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78877,
    "c": 0.14358,
    "h": 108.8
  },
  "luminance": 0.50039
}

Semantic roles & 50–950 ramp

primary
#C2C145
secondary
#373874
accent
#4FDA4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C145

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

Preview Lab → · Contrast checker → · Palette generator →

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