#C7CD89#C7CD89

#C7CD89 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.089 H 112.4°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#C7CD89
RGBrgb(199, 205, 137)
HSLhsl(65, 40%, 67%)
HSVhsv(65, 33%, 80%)
CMYKcmyk(2.9%, 0%, 33.2%, 19.6%)
CIE-LABlab(80.52, -12.69, 33.23)
CIE-LCHlch(80.52, 35.57, 110.89°)
OKLaboklab(82.76% -0.034 0.0823)
OKLCHoklch(82.76% 0.089 112.4)
XYZxyz(49.9001, 57.6115, 32.1535)
Luminance0.5761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD89 #8F89CD
analogous
#CDB189 #C7CD89 #A5CD89
triadic
#C7CD89 #89C7CD #CD89C7
tetradic
#C7CD89 #89CDB1 #8F89CD #CD89A5
square
#C7CD89 #89CDB1 #8F89CD #CD89A5
split-complementary
#C7CD89 #89A5CD #B189CD
monochromatic
#929A41 #B3BB5E #C7CD89 #DBDFB4 #F0F1DF

Accessibility & contrast

On white

1.68
#C7CD89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#C7CD89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD89
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD89#FFFFFF#000000##000000
##C7CD891.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C784
Deuteranopia (green-blind)
#D7C98C
Tritanopia (blue-blind)
#CFC5BC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c7cd89;
/* rgb */ color: rgb(199, 205, 137);
/* oklch */ color: oklch(82.8% 0.089 112.4);
Tailwind
colors: {
  custom: {
    50: '#d9dcac',
    500: '#c7cd89',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd89;
$custom-light: #d9dcac;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd89",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 137
  },
  "hsl": {
    "h": 65.294,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.82762,
    "c": 0.08908,
    "h": 112.4
  },
  "luminance": 0.57611
}

Semantic roles & 50–950 ramp

primary
#C7CD89
secondary
#605AA1
accent
#32B43D
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #C7CD89

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

Preview Lab → · Contrast checker → · Palette generator →

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