#C7C92B#C7C92B

#C7C92B 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#C7C92B
RGBrgb(199, 201, 43)
HSLhsl(61, 65%, 48%)
HSVhsv(61, 79%, 79%)
CMYKcmyk(1%, 0%, 78.6%, 21.2%)
CIE-LABlab(78.51, -18.05, 71.65)
CIE-LCHlch(78.51, 73.88, 104.14°)
OKLaboklab(80.86% -0.0577 0.1556)
OKLCHoklch(80.86% 0.166 110.4)
XYZxyz(44.8776, 54.0911, 10.3617)
Luminance0.5409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C92B #2D2BC9
analogous
#C97C2B #C7C92B #78C92B
triadic
#C7C92B #2BC7C9 #C92BC7
tetradic
#C7C92B #2BC97C #2D2BC9 #C92B78
square
#C7C92B #2BC97C #2D2BC9 #C92B78
split-complementary
#C7C92B #2B78C9 #7C2BC9
monochromatic
#636415 #959720 #C7C92B #D9DB56 #E5E689

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C92B#FFFFFF#000000##000000
##C7C92B1.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)
#DBC43A
Tritanopia (blue-blind)
#D5BCAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c92b;
/* rgb */ color: rgb(199, 201, 43);
/* oklch */ color: oklch(80.9% 0.166 110.4);
Tailwind
colors: {
  custom: {
    50: '#dcd973',
    500: '#c7c92b',
    950: '#000000',
  },
}
SCSS
$custom: #c7c92b;
$custom-light: #dcd973;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c92b",
  "rgb": {
    "r": 199,
    "g": 201,
    "b": 43
  },
  "hsl": {
    "h": 60.759,
    "s": 64.754,
    "l": 47.843
  },
  "oklch": {
    "l": 0.8086,
    "c": 0.16593,
    "h": 110.4
  },
  "luminance": 0.5409
}

Semantic roles & 50–950 ramp

primary
#C7C92B
secondary
#2A2A6F
accent
#40E842
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C92B

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

Preview Lab → · Contrast checker → · Palette generator →

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