#C7C845#C7C845

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

Color values

HEX#C7C845
RGBrgb(199, 200, 69)
HSLhsl(60, 54%, 53%)
HSVhsv(60, 66%, 78%)
CMYKcmyk(0.5%, 0%, 65.5%, 21.6%)
CIE-LABlab(78.39, -16.35, 62.66)
CIE-LCHlch(78.39, 64.76, 104.62°)
OKLaboklab(80.81% -0.0506 0.141)
OKLCHoklch(80.81% 0.15 109.8)
XYZxyz(45.2831, 53.8816, 13.6439)
Luminance0.5388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C845 #4645C8
analogous
#C88745 #C7C845 #85C845
triadic
#C7C845 #45C7C8 #C845C7
tetradic
#C7C845 #45C887 #4645C8 #C84585
square
#C7C845 #45C887 #4645C8 #C84585
split-complementary
#C7C845 #4585C8 #8745C8
monochromatic
#717121 #A0A02F #C7C845 #D5D674 #E3E4A3

Accessibility & contrast

On white

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

On black

11.78
#C7C845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C845
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C845#FFFFFF#000000##000000
##C7C8451.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7c845;
/* rgb */ color: rgb(199, 200, 69);
/* oklch */ color: oklch(80.8% 0.150 109.8);
Tailwind
colors: {
  custom: {
    50: '#dbd880',
    500: '#c7c845',
    950: '#000000',
  },
}
SCSS
$custom: #c7c845;
$custom-light: #dbd880;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c845",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 60.458,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.8081,
    "c": 0.14985,
    "h": 109.8
  },
  "luminance": 0.5388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7C845

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

Preview Lab → · Contrast checker → · Palette generator →

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