#C7C844#C7C844

#C7C844 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.8% C 0.151 H 109.8°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#C7C844
RGBrgb(199, 200, 68)
HSLhsl(60, 55%, 53%)
HSVhsv(60, 66%, 78%)
CMYKcmyk(0.5%, 0%, 66%, 21.6%)
CIE-LABlab(78.39, -16.41, 63.05)
CIE-LCHlch(78.39, 65.15, 104.59°)
OKLaboklab(80.8% -0.0509 0.1417)
OKLCHoklch(80.8% 0.151 109.8)
XYZxyz(45.2523, 53.8693, 13.4818)
Luminance0.5387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C844 #4544C8
analogous
#C88744 #C7C844 #85C844
triadic
#C7C844 #44C7C8 #C844C7
tetradic
#C7C844 #44C887 #4544C8 #C84485
square
#C7C844 #44C887 #4544C8 #C84485
split-complementary
#C7C844 #4485C8 #8744C8
monochromatic
#707121 #9FA02F #C7C844 #D5D673 #E3E4A3

Accessibility & contrast

On white

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

On black

11.77
#C7C844 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C844
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C844#FFFFFF#000000##000000
##C7C8441.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C031
Deuteranopia (green-blind)
#D9C44D
Tritanopia (blue-blind)
#D5BCAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c844;
/* rgb */ color: rgb(199, 200, 68);
/* oklch */ color: oklch(80.8% 0.151 109.8);
Tailwind
colors: {
  custom: {
    50: '#dbd87f',
    500: '#c7c844',
    950: '#000000',
  },
}
SCSS
$custom: #c7c844;
$custom-light: #dbd87f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c844",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 68
  },
  "hsl": {
    "h": 60.455,
    "s": 54.545,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80802,
    "c": 0.15055,
    "h": 109.8
  },
  "luminance": 0.53868
}

Semantic roles & 50–950 ramp

primary
#C7C844
secondary
#37367A
accent
#4ADE4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C844

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

Preview Lab → · Contrast checker → · Palette generator →

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