#C2C92D#C2C92D

#C2C92D is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.5% C 0.166 H 112.3°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#C2C92D
RGBrgb(194, 201, 45)
HSLhsl(63, 63%, 48%)
HSVhsv(63, 78%, 79%)
CMYKcmyk(3.5%, 0%, 77.6%, 21.2%)
CIE-LABlab(78.13, -20.09, 70.58)
CIE-LCHlch(78.13, 73.39, 105.89°)
OKLaboklab(80.46% -0.063 0.1538)
OKLCHoklch(80.46% 0.166 112.3)
XYZxyz(43.6099, 53.4332, 10.4985)
Luminance0.5343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C92D #342DC9
analogous
#C9822D #C2C92D #74C92D
triadic
#C2C92D #2DC2C9 #C92DC2
tetradic
#C2C92D #2DC982 #342DC9 #C92D74
square
#C2C92D #2DC982 #342DC9 #C92D74
split-complementary
#C2C92D #2D74C9 #822DC9
monochromatic
#616517 #929722 #C2C92D #D4DA59 #E1E58B

Accessibility & contrast

On white

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

On black

11.69
#C2C92D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C92D
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C92D#FFFFFF#000000##000000
##C2C92D1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c92d;
/* rgb */ color: rgb(194, 201, 45);
/* oklch */ color: oklch(80.5% 0.166 112.3);
Tailwind
colors: {
  custom: {
    50: '#d8d974',
    500: '#c2c92d',
    950: '#000000',
  },
}
SCSS
$custom: #c2c92d;
$custom-light: #d8d974;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c92d",
  "rgb": {
    "r": 194,
    "g": 201,
    "b": 45
  },
  "hsl": {
    "h": 62.692,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.80459,
    "c": 0.16623,
    "h": 112.3
  },
  "luminance": 0.53432
}

Semantic roles & 50–950 ramp

primary
#C2C92D
secondary
#2E2B6F
accent
#41E649
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C92D

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

Preview Lab → · Contrast checker → · Palette generator →

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