#C7C18F#C7C18F

#C7C18F is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.067 H 102.0°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#C7C18F
RGBrgb(199, 193, 143)
HSLhsl(54, 33%, 67%)
HSVhsv(54, 28%, 78%)
CMYKcmyk(0%, 3%, 28.1%, 22%)
CIE-LABlab(77.44, -5.75, 26.00)
CIE-LCHlch(77.44, 26.63, 102.46°)
OKLaboklab(80.35% -0.0139 0.0654)
OKLCHoklch(80.35% 0.067 102)
XYZxyz(47.5813, 52.2661, 33.5631)
Luminance0.5226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C18F #8F95C7
analogous
#C7A58F #C7C18F #B1C78F
triadic
#C7C18F #8FC7C1 #C18FC7
tetradic
#C7C18F #8FC7A5 #8F95C7 #C78FB1
square
#C7C18F #8FC7A5 #8F95C7 #C78FB1
split-complementary
#C7C18F #8FB1C7 #A58FC7
monochromatic
#928B49 #B3AA66 #C7C18F #DBD8B8 #F0EEE1

Accessibility & contrast

On white

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

On black

11.45
#C7C18F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C18F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C18F#FFFFFF#000000##000000
##C7C18F1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABE8C
Deuteranopia (green-blind)
#CCC191
Tritanopia (blue-blind)
#CFBAB4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c7c18f;
/* rgb */ color: rgb(199, 193, 143);
/* oklch */ color: oklch(80.3% 0.067 102.0);
Tailwind
colors: {
  custom: {
    50: '#d8d3b0',
    500: '#c7c18f',
    950: '#000000',
  },
}
SCSS
$custom: #c7c18f;
$custom-light: #d8d3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c18f",
  "rgb": {
    "r": 199,
    "g": 193,
    "b": 143
  },
  "hsl": {
    "h": 53.571,
    "s": 33.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8035,
    "c": 0.06686,
    "h": 102
  },
  "luminance": 0.52265
}

Semantic roles & 50–950 ramp

primary
#C7C18F
secondary
#60669A
accent
#46AC39
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#141410
muted
#838381

Preview Lab

Preview with #C7C18F

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

Preview Lab → · Contrast checker → · Palette generator →

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