#C7C53E#C7C53E

#C7C53E is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.1% C 0.152 H 108.5°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#C7C53E
RGBrgb(199, 197, 62)
HSLhsl(59, 55%, 51%)
HSVhsv(59, 69%, 78%)
CMYKcmyk(0%, 1%, 68.8%, 22%)
CIE-LABlab(77.53, -15.23, 64.49)
CIE-LCHlch(77.53, 66.26, 103.29°)
OKLaboklab(80.11% -0.0482 0.1437)
OKLCHoklch(80.11% 0.152 108.5)
XYZxyz(44.3905, 52.4238, 12.3370)
Luminance0.5242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C53E #3E40C7
analogous
#C7803E #C7C53E #84C73E
triadic
#C7C53E #3EC7C5 #C53EC7
tetradic
#C7C53E #3EC780 #3E40C7 #C73E84
square
#C7C53E #3EC780 #3E40C7 #C73E84
split-complementary
#C7C53E #3E84C7 #803EC7
monochromatic
#6B6A1F #9B992D #C7C53E #D5D36D #E3E29D

Accessibility & contrast

On white

1.83
#C7C53E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#C7C53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C53E
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C53E#FFFFFF#000000##000000
##C7C53E1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD28
Deuteranopia (green-blind)
#D7C247
Tritanopia (blue-blind)
#D5B8AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c7c53e;
/* rgb */ color: rgb(199, 197, 62);
/* oklch */ color: oklch(80.1% 0.152 108.5);
Tailwind
colors: {
  custom: {
    50: '#dbd67c',
    500: '#c7c53e',
    950: '#000000',
  },
}
SCSS
$custom: #c7c53e;
$custom-light: #dbd67c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c53e",
  "rgb": {
    "r": 199,
    "g": 197,
    "b": 62
  },
  "hsl": {
    "h": 59.124,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80109,
    "c": 0.1516,
    "h": 108.5
  },
  "luminance": 0.52422
}

Semantic roles & 50–950 ramp

primary
#C7C53E
secondary
#343575
accent
#4CDE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C53E

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

Preview Lab → · Contrast checker → · Palette generator →

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