#C7C945#C7C945

#C7C945 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.0% C 0.151 H 110.2°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#C7C945
RGBrgb(199, 201, 69)
HSLhsl(61, 55%, 53%)
HSVhsv(61, 66%, 79%)
CMYKcmyk(1%, 0%, 65.7%, 21.2%)
CIE-LABlab(78.66, -16.85, 62.94)
CIE-LCHlch(78.66, 65.16, 104.99°)
OKLaboklab(81.03% -0.052 0.1416)
OKLCHoklch(81.03% 0.151 110.2)
XYZxyz(45.5155, 54.3463, 13.7213)
Luminance0.5434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C945 #4745C9
analogous
#C98945 #C7C945 #85C945
triadic
#C7C945 #45C7C9 #C945C7
tetradic
#C7C945 #45C989 #4745C9 #C94585
square
#C7C945 #45C989 #4745C9 #C94585
split-complementary
#C7C945 #4585C9 #8945C9
monochromatic
#717221 #A0A22F #C7C945 #D5D774 #E4E5A4

Accessibility & contrast

On white

1.77
#C7C945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#C7C945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C945
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C945#FFFFFF#000000##000000
##C7C9451.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C132
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#D4BDAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7c945;
/* rgb */ color: rgb(199, 201, 69);
/* oklch */ color: oklch(81.0% 0.151 110.2);
Tailwind
colors: {
  custom: {
    50: '#dbd980',
    500: '#c7c945',
    950: '#000000',
  },
}
SCSS
$custom: #c7c945;
$custom-light: #dbd980;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c945",
  "rgb": {
    "r": 199,
    "g": 201,
    "b": 69
  },
  "hsl": {
    "h": 60.909,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81026,
    "c": 0.15087,
    "h": 110.2
  },
  "luminance": 0.54345
}

Semantic roles & 50–950 ramp

primary
#C7C945
secondary
#38377B
accent
#49DE4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C945

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

Preview Lab → · Contrast checker → · Palette generator →

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