#C7C288#C7C288

#C7C288 is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.077 H 103.8°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#C7C288
RGBrgb(199, 194, 136)
HSLhsl(55, 36%, 66%)
HSVhsv(55, 32%, 78%)
CMYKcmyk(0%, 2.5%, 31.7%, 22%)
CIE-LABlab(77.58, -7.17, 29.87)
CIE-LCHlch(77.58, 30.72, 103.50°)
OKLaboklab(80.42% -0.0183 0.0744)
OKLCHoklch(80.42% 0.077 103.8)
XYZxyz(47.2893, 52.5042, 30.9310)
Luminance0.5250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C288 #888DC7
analogous
#C7A288 #C7C288 #ACC788
triadic
#C7C288 #88C7C2 #C288C7
tetradic
#C7C288 #88C7A2 #888DC7 #C788AC
square
#C7C288 #88C7A2 #888DC7 #C788AC
split-complementary
#C7C288 #88ACC7 #A288C7
monochromatic
#918A44 #B3AD5E #C7C288 #DBD7B2 #EEEDDB

Accessibility & contrast

On white

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

On black

11.50
#C7C288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C288
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C288#FFFFFF#000000##000000
##C7C2881.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBE84
Deuteranopia (green-blind)
#CEC18A
Tritanopia (blue-blind)
#D0BAB3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c7c288;
/* rgb */ color: rgb(199, 194, 136);
/* oklch */ color: oklch(80.4% 0.077 103.8);
Tailwind
colors: {
  custom: {
    50: '#d9d4ab',
    500: '#c7c288',
    950: '#000000',
  },
}
SCSS
$custom: #c7c288;
$custom-light: #d9d4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c288",
  "rgb": {
    "r": 199,
    "g": 194,
    "b": 136
  },
  "hsl": {
    "h": 55.238,
    "s": 36,
    "l": 65.686
  },
  "oklch": {
    "l": 0.80422,
    "c": 0.07663,
    "h": 103.8
  },
  "luminance": 0.52503
}

Semantic roles & 50–950 ramp

primary
#C7C288
secondary
#5B6098
accent
#40AF37
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #C7C288

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

Preview Lab → · Contrast checker → · Palette generator →

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