#C2C438#C2C438

#C2C438 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.4% C 0.155 H 110.3°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#C2C438
RGBrgb(194, 196, 56)
HSLhsl(61, 56%, 49%)
HSVhsv(61, 71%, 77%)
CMYKcmyk(1%, 0%, 71.4%, 23.1%)
CIE-LABlab(76.82, -17.14, 65.83)
CIE-LCHlch(76.82, 68.02, 104.60°)
OKLaboklab(79.43% -0.0539 0.1457)
OKLCHoklch(79.43% 0.155 110.3)
XYZxyz(42.7033, 51.2359, 11.3807)
Luminance0.5123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C438 #3A38C4
analogous
#C48038 #C2C438 #7CC438
triadic
#C2C438 #38C2C4 #C438C2
tetradic
#C2C438 #38C480 #3A38C4 #C4387C
square
#C2C438 #38C480 #3A38C4 #C4387C
split-complementary
#C2C438 #387CC4 #8038C4
monochromatic
#64651D #93942A #C2C438 #D2D366 #E0E196

Accessibility & contrast

On white

1.87
#C2C438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#C2C438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C438
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C438#FFFFFF#000000##000000
##C2C4381.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB1E
Deuteranopia (green-blind)
#D5C043
Tritanopia (blue-blind)
#D0B8A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c2c438;
/* rgb */ color: rgb(194, 196, 56);
/* oklch */ color: oklch(79.4% 0.155 110.3);
Tailwind
colors: {
  custom: {
    50: '#d8d578',
    500: '#c2c438',
    950: '#000000',
  },
}
SCSS
$custom: #c2c438;
$custom-light: #d8d578;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c438",
  "rgb": {
    "r": 194,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 60.857,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.7943,
    "c": 0.15533,
    "h": 110.3
  },
  "luminance": 0.51235
}

Semantic roles & 50–950 ramp

primary
#C2C438
secondary
#32316F
accent
#49DF4B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C438

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

Preview Lab → · Contrast checker → · Palette generator →

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