#28802C#28802C

#28802C is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.146 H 143.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#28802C
RGBrgb(40, 128, 44)
HSLhsl(123, 52%, 33%)
HSVhsv(123, 69%, 50%)
CMYKcmyk(68.8%, 0%, 65.6%, 49.8%)
CIE-LABlab(47.07, -43.54, 37.08)
CIE-LCHlch(47.07, 57.19, 139.58°)
OKLaboklab(52.92% -0.118 0.0864)
OKLCHoklch(52.92% 0.146 143.8)
XYZxyz(9.0483, 16.0704, 5.0074)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28802C #80287C
analogous
#508028 #28802C #288058
triadic
#28802C #2C2880 #802C28
tetradic
#28802C #285080 #80287C #805828
square
#28802C #285080 #80287C #805828
split-complementary
#28802C #582880 #802850
monochromatic
#0B230C #19511C #28802C #37AF3C #58CB5D

Accessibility & contrast

On white

4.98
#28802C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#28802C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28802C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28802C#FFFFFF#000000##FFFFFF
##28802C1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837422
Deuteranopia (green-blind)
#786D33
Tritanopia (blue-blind)
#117C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #28802c;
/* rgb */ color: rgb(40, 128, 44);
/* oklch */ color: oklch(52.9% 0.146 143.8);
Tailwind
colors: {
  custom: {
    50: '#6fa669',
    500: '#28802c',
    950: '#000000',
  },
}
SCSS
$custom: #28802c;
$custom-light: #6fa669;
$custom-dark: #000000;
JSON
{
  "hex": "#28802c",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 122.727,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52923,
    "c": 0.14624,
    "h": 143.8
  },
  "luminance": 0.16071
}

Semantic roles & 50–950 ramp

primary
#28802C
secondary
#B054AC
accent
#4CD5DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #28802C

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

Preview Lab → · Contrast checker → · Palette generator →

#28802C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva