#C7C141#C7C141

#C7C141 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.3% C 0.146 H 106.7°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#C7C141
RGBrgb(199, 193, 65)
HSLhsl(57, 54%, 52%)
HSVhsv(57, 67%, 78%)
CMYKcmyk(0%, 3%, 67.3%, 22%)
CIE-LABlab(76.48, -13.05, 62.28)
CIE-LCHlch(76.48, 63.63, 101.83°)
OKLaboklab(79.27% -0.0418 0.1396)
OKLCHoklch(79.27% 0.146 106.7)
XYZxyz(43.5789, 50.6652, 12.4838)
Luminance0.5066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C141 #4147C7
analogous
#C77E41 #C7C141 #8AC741
triadic
#C7C141 #41C7C1 #C141C7
tetradic
#C7C141 #41C77E #4147C7 #C7418A
square
#C7C141 #41C77E #4147C7 #C7418A
split-complementary
#C7C141 #418AC7 #7E41C7
monochromatic
#6D6A20 #9D982E #C7C141 #D5D070 #E3E0A0

Accessibility & contrast

On white

1.89
#C7C141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#C7C141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C141
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C141#FFFFFF#000000##000000
##C7C1411.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2E
Deuteranopia (green-blind)
#D4BF49
Tritanopia (blue-blind)
#D5B5A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c7c141;
/* rgb */ color: rgb(199, 193, 65);
/* oklch */ color: oklch(79.3% 0.146 106.7);
Tailwind
colors: {
  custom: {
    50: '#dbd37d',
    500: '#c7c141',
    950: '#000000',
  },
}
SCSS
$custom: #c7c141;
$custom-light: #dbd37d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c141",
  "rgb": {
    "r": 199,
    "g": 193,
    "b": 65
  },
  "hsl": {
    "h": 57.313,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79272,
    "c": 0.14569,
    "h": 106.7
  },
  "luminance": 0.50664
}

Semantic roles & 50–950 ramp

primary
#C7C141
secondary
#353877
accent
#51DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C141

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

Preview Lab → · Contrast checker → · Palette generator →

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