#C2C91E#C2C91E

#C2C91E is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.4% C 0.172 H 112.3°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#C2C91E
RGBrgb(194, 201, 30)
HSLhsl(62, 74%, 45%)
HSVhsv(62, 85%, 79%)
CMYKcmyk(3.5%, 0%, 85.1%, 21.2%)
CIE-LABlab(78.07, -20.55, 74.31)
CIE-LCHlch(78.07, 77.10, 105.46°)
OKLaboklab(80.4% -0.0653 0.1593)
OKLCHoklch(80.4% 0.172 112.3)
XYZxyz(43.3707, 53.3375, 9.2386)
Luminance0.5334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C91E #251EC9
analogous
#C97A1E #C2C91E #6DC91E
triadic
#C2C91E #1EC2C9 #C91EC2
tetradic
#C2C91E #1EC97A #251EC9 #C91E6D
square
#C2C91E #1EC97A #251EC9 #C91E6D
split-complementary
#C2C91E #1E6DC9 #7A1EC9
monochromatic
#5B5E0E #8F9416 #C2C91E #DCE341 #E6EB77

Accessibility & contrast

On white

1.80
#C2C91E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#C2C91E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C91E
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C91E#FFFFFF#000000##000000
##C2C91E1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#DAC331
Tritanopia (blue-blind)
#D0BCAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c91e;
/* rgb */ color: rgb(194, 201, 30);
/* oklch */ color: oklch(80.4% 0.172 112.3);
Tailwind
colors: {
  custom: {
    50: '#d9d96e',
    500: '#c2c91e',
    950: '#000000',
  },
}
SCSS
$custom: #c2c91e;
$custom-light: #d9d96e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c91e",
  "rgb": {
    "r": 194,
    "g": 201,
    "b": 30
  },
  "hsl": {
    "h": 62.456,
    "s": 74.026,
    "l": 45.294
  },
  "oklch": {
    "l": 0.80396,
    "c": 0.17219,
    "h": 112.3
  },
  "luminance": 0.53336
}

Semantic roles & 50–950 ramp

primary
#C2C91E
secondary
#24226A
accent
#37F13F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C2C91E

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

Preview Lab → · Contrast checker → · Palette generator →

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