#C2C038#C2C038

#C2C038 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.6% C 0.151 H 108.6°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#C2C038
RGBrgb(194, 192, 56)
HSLhsl(59, 55%, 49%)
HSVhsv(59, 71%, 76%)
CMYKcmyk(0%, 1%, 71.1%, 23.9%)
CIE-LABlab(75.73, -15.13, 64.78)
CIE-LCHlch(75.73, 66.52, 103.15°)
OKLaboklab(78.56% -0.0482 0.1435)
OKLCHoklch(78.56% 0.151 108.6)
XYZxyz(41.8131, 49.4554, 11.0839)
Luminance0.4945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C038 #383AC2
analogous
#C27B38 #C2C038 #7FC238
triadic
#C2C038 #38C2C0 #C038C2
tetradic
#C2C038 #38C27B #383AC2 #C2387F
square
#C2C038 #38C27B #383AC2 #C2387F
split-complementary
#C2C038 #387FC2 #7B38C2
monochromatic
#63621D #93912A #C2C038 #D2D165 #E0DF94

Accessibility & contrast

On white

1.93
#C2C038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#C2C038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C038
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C038#FFFFFF#000000##000000
##C2C0381.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B820
Deuteranopia (green-blind)
#D2BD42
Tritanopia (blue-blind)
#D0B4A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c2c038;
/* rgb */ color: rgb(194, 192, 56);
/* oklch */ color: oklch(78.6% 0.151 108.6);
Tailwind
colors: {
  custom: {
    50: '#d8d278',
    500: '#c2c038',
    950: '#000000',
  },
}
SCSS
$custom: #c2c038;
$custom-light: #d8d278;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c038",
  "rgb": {
    "r": 194,
    "g": 192,
    "b": 56
  },
  "hsl": {
    "h": 59.13,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78561,
    "c": 0.15136,
    "h": 108.6
  },
  "luminance": 0.49454
}

Semantic roles & 50–950 ramp

primary
#C2C038
secondary
#8A8BCB
accent
#4BDF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #C2C038

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

Preview Lab → · Contrast checker → · Palette generator →

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