#C2C839#C2C839

#C2C839 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.3% C 0.159 H 111.9°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#C2C839
RGBrgb(194, 200, 57)
HSLhsl(63, 57%, 50%)
HSVhsv(63, 72%, 78%)
CMYKcmyk(3%, 0%, 71.5%, 21.6%)
CIE-LABlab(77.92, -19.08, 66.53)
CIE-LCHlch(77.92, 69.22, 106.00°)
OKLaboklab(80.31% -0.0592 0.1474)
OKLCHoklch(80.31% 0.159 111.9)
XYZxyz(43.6423, 53.0744, 11.8155)
Luminance0.5307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C839 #3F39C8
analogous
#C88639 #C2C839 #7BC839
triadic
#C2C839 #39C2C8 #C839C2
tetradic
#C2C839 #39C886 #3F39C8 #C8397B
square
#C2C839 #39C886 #3F39C8 #C8397B
split-complementary
#C2C839 #397BC8 #8639C8
monochromatic
#66691D #95992B #C2C839 #D1D569 #E0E399

Accessibility & contrast

On white

1.81
#C2C839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#C2C839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C839
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C839#FFFFFF#000000##000000
##C2C8391.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF1E
Deuteranopia (green-blind)
#D8C244
Tritanopia (blue-blind)
#CFBCAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c839;
/* rgb */ color: rgb(194, 200, 57);
/* oklch */ color: oklch(80.3% 0.159 111.9);
Tailwind
colors: {
  custom: {
    50: '#d8d879',
    500: '#c2c839',
    950: '#000000',
  },
}
SCSS
$custom: #c2c839;
$custom-light: #d8d879;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c839",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 57
  },
  "hsl": {
    "h": 62.517,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80309,
    "c": 0.15879,
    "h": 111.9
  },
  "luminance": 0.53073
}

Semantic roles & 50–950 ramp

primary
#C2C839
secondary
#353273
accent
#48E04E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C839

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

Preview Lab → · Contrast checker → · Palette generator →

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