#C7C92A#C7C92A

#C7C92A is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.9% C 0.166 H 110.4°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#C7C92A
RGBrgb(199, 201, 42)
HSLhsl(61, 65%, 48%)
HSVhsv(61, 79%, 79%)
CMYKcmyk(1%, 0%, 79.1%, 21.2%)
CIE-LABlab(78.51, -18.08, 71.92)
CIE-LCHlch(78.51, 74.16, 104.11°)
OKLaboklab(80.86% -0.0579 0.156)
OKLCHoklch(80.86% 0.166 110.4)
XYZxyz(44.8594, 54.0839, 10.2662)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C92A #2C2AC9
analogous
#C97C2A #C7C92A #77C92A
triadic
#C7C92A #2AC7C9 #C92AC7
tetradic
#C7C92A #2AC97C #2C2AC9 #C92A77
square
#C7C92A #2AC97C #2C2AC9 #C92A77
split-complementary
#C7C92A #2A77C9 #7C2AC9
monochromatic
#636415 #95961F #C7C92A #DADB55 #E5E687

Accessibility & contrast

On white

1.78
#C7C92A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#C7C92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C92A
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C92A#FFFFFF#000000##000000
##C7C92A1.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C000
Deuteranopia (green-blind)
#DBC439
Tritanopia (blue-blind)
#D5BCAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c92a;
/* rgb */ color: rgb(199, 201, 42);
/* oklch */ color: oklch(80.9% 0.166 110.4);
Tailwind
colors: {
  custom: {
    50: '#dcd973',
    500: '#c7c92a',
    950: '#000000',
  },
}
SCSS
$custom: #c7c92a;
$custom-light: #dcd973;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c92a",
  "rgb": {
    "r": 199,
    "g": 201,
    "b": 42
  },
  "hsl": {
    "h": 60.755,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.80855,
    "c": 0.16637,
    "h": 110.4
  },
  "luminance": 0.54083
}

Semantic roles & 50–950 ramp

primary
#C7C92A
secondary
#2A296E
accent
#3FE842
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C92A

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

Preview Lab → · Contrast checker → · Palette generator →

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