#C2C338#C2C338

#C2C338 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.2% C 0.154 H 109.9°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#C2C338
RGBrgb(194, 195, 56)
HSLhsl(60, 55%, 49%)
HSVhsv(60, 71%, 76%)
CMYKcmyk(0.5%, 0%, 71.3%, 23.5%)
CIE-LABlab(76.55, -16.64, 65.56)
CIE-LCHlch(76.55, 67.64, 104.24°)
OKLaboklab(79.21% -0.0525 0.1451)
OKLCHoklch(79.21% 0.154 109.9)
XYZxyz(42.4785, 50.7863, 11.3057)
Luminance0.5079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C338 #3938C3
analogous
#C37F38 #C2C338 #7DC338
triadic
#C2C338 #38C2C3 #C338C2
tetradic
#C2C338 #38C37F #3938C3 #C3387D
square
#C2C338 #38C37F #3938C3 #C3387D
split-complementary
#C2C338 #387DC3 #7F38C3
monochromatic
#63641D #93932A #C2C338 #D2D365 #E0E195

Accessibility & contrast

On white

1.88
#C2C338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#C2C338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C338
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C338#FFFFFF#000000##000000
##C2C3381.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB1E
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#D0B7A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c2c338;
/* rgb */ color: rgb(194, 195, 56);
/* oklch */ color: oklch(79.2% 0.154 109.9);
Tailwind
colors: {
  custom: {
    50: '#d8d478',
    500: '#c2c338',
    950: '#000000',
  },
}
SCSS
$custom: #c2c338;
$custom-light: #d8d478;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c338",
  "rgb": {
    "r": 194,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 60.432,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79212,
    "c": 0.15432,
    "h": 109.9
  },
  "luminance": 0.50785
}

Semantic roles & 50–950 ramp

primary
#C2C338
secondary
#31316E
accent
#49DF4A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C338

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

Preview Lab → · Contrast checker → · Palette generator →

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