#C2C837#C2C837

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

Color values

HEX#C2C837
RGBrgb(194, 200, 55)
HSLhsl(62, 57%, 50%)
HSVhsv(62, 73%, 78%)
CMYKcmyk(3%, 0%, 72.5%, 21.6%)
CIE-LABlab(77.91, -19.18, 67.21)
CIE-LCHlch(77.91, 69.89, 105.93°)
OKLaboklab(80.3% -0.0596 0.1484)
OKLCHoklch(80.3% 0.16 111.9)
XYZxyz(43.5934, 53.0548, 11.5579)
Luminance0.5305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C837 #3D37C8
analogous
#C88637 #C2C837 #79C837
triadic
#C2C837 #37C2C8 #C837C2
tetradic
#C2C837 #37C886 #3D37C8 #C83779
square
#C2C837 #37C886 #3D37C8 #C83779
split-complementary
#C2C837 #3779C8 #8637C8
monochromatic
#65681D #93982A #C2C837 #D1D567 #DFE297

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C837#FFFFFF#000000##000000
##C2C8371.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)
#D7BF1A
Deuteranopia (green-blind)
#D8C243
Tritanopia (blue-blind)
#CFBCAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c837;
/* rgb */ color: rgb(194, 200, 55);
/* oklch */ color: oklch(80.3% 0.160 111.9);
Tailwind
colors: {
  custom: {
    50: '#d8d878',
    500: '#c2c837',
    950: '#000000',
  },
}
SCSS
$custom: #c2c837;
$custom-light: #d8d878;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c837",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 55
  },
  "hsl": {
    "h": 62.483,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.80296,
    "c": 0.15997,
    "h": 111.9
  },
  "luminance": 0.53054
}

Semantic roles & 50–950 ramp

primary
#C2C837
secondary
#343172
accent
#48E04E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C837

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

Preview Lab → · Contrast checker → · Palette generator →

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