#C2C92F#C2C92F

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

Color values

HEX#C2C92F
RGBrgb(194, 201, 47)
HSLhsl(63, 62%, 49%)
HSVhsv(63, 77%, 79%)
CMYKcmyk(3.5%, 0%, 76.6%, 21.2%)
CIE-LABlab(78.14, -20.01, 70.00)
CIE-LCHlch(78.14, 72.80, 105.96°)
OKLaboklab(80.47% -0.0626 0.1529)
OKLCHoklch(80.47% 0.165 112.3)
XYZxyz(43.6493, 53.4489, 10.7061)
Luminance0.5345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C92F #362FC9
analogous
#C9832F #C2C92F #75C92F
triadic
#C2C92F #2FC2C9 #C92FC2
tetradic
#C2C92F #2FC983 #362FC9 #C92F75
square
#C2C92F #2FC983 #362FC9 #C92F75
split-complementary
#C2C92F #2F75C9 #832FC9
monochromatic
#626618 #929723 #C2C92F #D3D95C #E1E58E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C92F#FFFFFF#000000##000000
##C2C92F1.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)
#D9C33D
Tritanopia (blue-blind)
#D0BCAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c92f;
/* rgb */ color: rgb(194, 201, 47);
/* oklch */ color: oklch(80.5% 0.165 112.3);
Tailwind
colors: {
  custom: {
    50: '#d8d975',
    500: '#c2c92f',
    950: '#000000',
  },
}
SCSS
$custom: #c2c92f;
$custom-light: #d8d975;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c92f",
  "rgb": {
    "r": 194,
    "g": 201,
    "b": 47
  },
  "hsl": {
    "h": 62.727,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.80469,
    "c": 0.16527,
    "h": 112.3
  },
  "luminance": 0.53448
}

Semantic roles & 50–950 ramp

primary
#C2C92F
secondary
#2F2C70
accent
#43E54A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C92F

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

Preview Lab → · Contrast checker → · Palette generator →

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