#C7C92D#C7C92D

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

Color values

HEX#C7C92D
RGBrgb(199, 201, 45)
HSLhsl(61, 63%, 48%)
HSVhsv(61, 78%, 79%)
CMYKcmyk(1%, 0%, 77.6%, 21.2%)
CIE-LABlab(78.52, -17.98, 71.08)
CIE-LCHlch(78.52, 73.32, 104.19°)
OKLaboklab(80.87% -0.0574 0.1547)
OKLCHoklch(80.87% 0.165 110.4)
XYZxyz(44.9151, 54.1062, 10.5597)
Luminance0.5411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C92D #2F2DC9
analogous
#C97D2D #C7C92D #79C92D
triadic
#C7C92D #2DC7C9 #C92DC7
tetradic
#C7C92D #2DC97D #2F2DC9 #C92D79
square
#C7C92D #2DC97D #2F2DC9 #C92D79
split-complementary
#C7C92D #2D79C9 #7D2DC9
monochromatic
#646517 #959722 #C7C92D #D8DA59 #E4E58B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #c7c92d;
/* rgb */ color: rgb(199, 201, 45);
/* oklch */ color: oklch(80.9% 0.165 110.4);
Tailwind
colors: {
  custom: {
    50: '#dcd974',
    500: '#c7c92d',
    950: '#000000',
  },
}
SCSS
$custom: #c7c92d;
$custom-light: #dcd974;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c92d",
  "rgb": {
    "r": 199,
    "g": 201,
    "b": 45
  },
  "hsl": {
    "h": 60.769,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.8087,
    "c": 0.16501,
    "h": 110.4
  },
  "luminance": 0.54105
}

Semantic roles & 50–950 ramp

primary
#C7C92D
secondary
#2C2B6F
accent
#41E643
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C92D

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

Preview Lab → · Contrast checker → · Palette generator →

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