#ACC795#ACC795

#ACC795 is a light, moderate yellow-green. Relative luminance 0.518; OKLCH L 79.7% C 0.074 H 131.0°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#ACC795
RGBrgb(172, 199, 149)
HSLhsl(92, 31%, 68%)
HSVhsv(92, 25%, 78%)
CMYKcmyk(13.6%, 0%, 25.1%, 22%)
CIE-LABlab(77.15, -18.10, 22.10)
CIE-LCHlch(77.15, 28.57, 129.32°)
OKLaboklab(79.66% -0.0488 0.0561)
OKLCHoklch(79.66% 0.074 131)
XYZxyz(42.8606, 51.7870, 36.1658)
Luminance0.5179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC795 #B095C7
analogous
#C5C795 #ACC795 #95C797
triadic
#ACC795 #95ACC7 #C795AC
tetradic
#ACC795 #95C5C7 #B095C7 #C79795
square
#ACC795 #95C5C7 #B095C7 #C79795
split-complementary
#ACC795 #9795C7 #C795C5
monochromatic
#6E944E #8DB26D #ACC795 #CBDCBD #EBF1E5

Accessibility & contrast

On white

1.85
#ACC795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#ACC795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC795
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC795#FFFFFF#000000##000000
##ACC7951.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCC092
Deuteranopia (green-blind)
#C8BE97
Tritanopia (blue-blind)
#ADC3BA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #acc795;
/* rgb */ color: rgb(172, 199, 149);
/* oklch */ color: oklch(79.7% 0.074 131.0);
Tailwind
colors: {
  custom: {
    50: '#c5d8b4',
    500: '#acc795',
    950: '#000000',
  },
}
SCSS
$custom: #acc795;
$custom-light: #c5d8b4;
$custom-dark: #000000;
JSON
{
  "hex": "#acc795",
  "rgb": {
    "r": 172,
    "g": 199,
    "b": 149
  },
  "hsl": {
    "h": 92.4,
    "s": 30.864,
    "l": 68.235
  },
  "oklch": {
    "l": 0.79658,
    "c": 0.07432,
    "h": 131
  },
  "luminance": 0.51787
}

Semantic roles & 50–950 ramp

primary
#ACC795
secondary
#82659C
accent
#3CAA77
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131411
muted
#828381

Preview Lab

Preview with #ACC795

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

Preview Lab → · Contrast checker → · Palette generator →

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