#C7C92F#C7C92F

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

Color values

HEX#C7C92F
RGBrgb(199, 201, 47)
HSLhsl(61, 62%, 49%)
HSVhsv(61, 77%, 79%)
CMYKcmyk(1%, 0%, 76.6%, 21.2%)
CIE-LABlab(78.53, -17.90, 70.50)
CIE-LCHlch(78.53, 72.74, 104.25°)
OKLaboklab(80.88% -0.057 0.1538)
OKLCHoklch(80.88% 0.164 110.3)
XYZxyz(44.9546, 54.1219, 10.7673)
Luminance0.5412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C92F #312FC9
analogous
#C97E2F #C7C92F #7AC92F
triadic
#C7C92F #2FC7C9 #C92FC7
tetradic
#C7C92F #2FC97E #312FC9 #C92F7A
square
#C7C92F #2FC97E #312FC9 #C92F7A
split-complementary
#C7C92F #2F7AC9 #7E2FC9
monochromatic
#656618 #969723 #C7C92F #D7D95C #E3E58E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #c7c92f;
/* rgb */ color: rgb(199, 201, 47);
/* oklch */ color: oklch(80.9% 0.164 110.3);
Tailwind
colors: {
  custom: {
    50: '#dcd975',
    500: '#c7c92f',
    950: '#000000',
  },
}
SCSS
$custom: #c7c92f;
$custom-light: #dcd975;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c92f",
  "rgb": {
    "r": 199,
    "g": 201,
    "b": 47
  },
  "hsl": {
    "h": 60.779,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.8088,
    "c": 0.16405,
    "h": 110.3
  },
  "luminance": 0.54121
}

Semantic roles & 50–950 ramp

primary
#C7C92F
secondary
#2D2C70
accent
#43E545
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C92F

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

Preview Lab → · Contrast checker → · Palette generator →

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