#C2C237#C2C237

#C2C237 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.0% C 0.154 H 109.5°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#C2C237
RGBrgb(194, 194, 55)
HSLhsl(60, 56%, 49%)
HSVhsv(60, 72%, 76%)
CMYKcmyk(0%, 0%, 71.6%, 23.9%)
CIE-LABlab(76.27, -16.19, 65.65)
CIE-LCHlch(76.27, 67.61, 103.85°)
OKLaboklab(78.99% -0.0513 0.1451)
OKLCHoklch(78.99% 0.154 109.5)
XYZxyz(42.2310, 50.3300, 11.1038)
Luminance0.5033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C237 #3737C2
analogous
#C27D37 #C2C237 #7DC237
triadic
#C2C237 #37C2C2 #C237C2
tetradic
#C2C237 #37C27D #3737C2 #C2377D
square
#C2C237 #37C27D #3737C2 #C2377D
split-complementary
#C2C237 #377DC2 #7D37C2
monochromatic
#63631C #929229 #C2C237 #D3D363 #E0E093

Accessibility & contrast

On white

1.90
#C2C237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#C2C237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C237
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C237#FFFFFF#000000##000000
##C2C2371.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1D
Deuteranopia (green-blind)
#D3BE42
Tritanopia (blue-blind)
#D0B6A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c237;
/* rgb */ color: rgb(194, 194, 55);
/* oklch */ color: oklch(79.0% 0.154 109.5);
Tailwind
colors: {
  custom: {
    50: '#d8d478',
    500: '#c2c237',
    950: '#000000',
  },
}
SCSS
$custom: #c2c237;
$custom-light: #d8d478;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c237",
  "rgb": {
    "r": 194,
    "g": 194,
    "b": 55
  },
  "hsl": {
    "h": 60,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78988,
    "c": 0.15392,
    "h": 109.5
  },
  "luminance": 0.50329
}

Semantic roles & 50–950 ramp

primary
#C2C237
secondary
#30306D
accent
#49DF49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C237

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

Preview Lab → · Contrast checker → · Palette generator →

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