#28823D#28823D

#28823D is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.134 H 147.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#28823D
RGBrgb(40, 130, 61)
HSLhsl(134, 53%, 33%)
HSVhsv(134, 69%, 51%)
CMYKcmyk(69.2%, 0%, 53.1%, 49%)
CIE-LABlab(47.95, -41.98, 29.62)
CIE-LCHlch(47.95, 51.37, 144.80°)
OKLaboklab(53.72% -0.1132 0.0715)
OKLCHoklch(53.72% 0.134 147.7)
XYZxyz(9.6993, 16.7523, 7.1363)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28823D #82286D
analogous
#408228 #28823D #28826A
triadic
#28823D #3D2882 #823D28
tetradic
#28823D #284082 #82286D #826A28
square
#28823D #284082 #82286D #826A28
split-complementary
#28823D #6A2882 #822840
monochromatic
#0B2411 #1A5327 #28823D #36B153 #59CC73

Accessibility & contrast

On white

4.83
#28823D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#28823D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28823D
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28823D#FFFFFF#000000##FFFFFF
##28823D1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837637
Deuteranopia (green-blind)
#786F42
Tritanopia (blue-blind)
#047F72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #28823d;
/* rgb */ color: rgb(40, 130, 61);
/* oklch */ color: oklch(53.7% 0.134 147.7);
Tailwind
colors: {
  custom: {
    50: '#6ea774',
    500: '#28823d',
    950: '#000000',
  },
}
SCSS
$custom: #28823d;
$custom-light: #6ea774;
$custom-dark: #000000;
JSON
{
  "hex": "#28823d",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 61
  },
  "hsl": {
    "h": 134,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53715,
    "c": 0.13388,
    "h": 147.7
  },
  "luminance": 0.16753
}

Semantic roles & 50–950 ramp

primary
#28823D
secondary
#B1559B
accent
#4BBBDC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #28823D

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

Preview Lab → · Contrast checker → · Palette generator →

#28823D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva