#C2C638#C2C638

#C2C638 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.9% C 0.157 H 111.1°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#C2C638
RGBrgb(194, 198, 56)
HSLhsl(62, 56%, 50%)
HSVhsv(62, 72%, 78%)
CMYKcmyk(2%, 0%, 71.7%, 22.4%)
CIE-LABlab(77.37, -18.14, 66.35)
CIE-LCHlch(77.37, 68.79, 105.29°)
OKLaboklab(79.87% -0.0566 0.1468)
OKLCHoklch(79.87% 0.157 111.1)
XYZxyz(43.1575, 52.1442, 11.5320)
Luminance0.5214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C638 #3C38C6
analogous
#C68338 #C2C638 #7BC638
triadic
#C2C638 #38C2C6 #C638C2
tetradic
#C2C638 #38C683 #3C38C6 #C6387B
square
#C2C638 #38C683 #3C38C6 #C6387B
split-complementary
#C2C638 #387BC6 #8338C6
monochromatic
#65671D #93962B #C2C638 #D1D467 #DFE297

Accessibility & contrast

On white

1.84
#C2C638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#C2C638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C638
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C638#FFFFFF#000000##000000
##C2C6381.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD1D
Deuteranopia (green-blind)
#D6C143
Tritanopia (blue-blind)
#CFBAAB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c2c638;
/* rgb */ color: rgb(194, 198, 56);
/* oklch */ color: oklch(79.9% 0.157 111.1);
Tailwind
colors: {
  custom: {
    50: '#d8d778',
    500: '#c2c638',
    950: '#000000',
  },
}
SCSS
$custom: #c2c638;
$custom-light: #d8d778;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c638",
  "rgb": {
    "r": 194,
    "g": 198,
    "b": 56
  },
  "hsl": {
    "h": 61.69,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79866,
    "c": 0.15734,
    "h": 111.1
  },
  "luminance": 0.52143
}

Semantic roles & 50–950 ramp

primary
#C2C638
secondary
#333171
accent
#49DF4D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C638

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

Preview Lab → · Contrast checker → · Palette generator →

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