#28823E#28823E

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

Color values

HEX#28823E
RGBrgb(40, 130, 62)
HSLhsl(135, 53%, 33%)
HSVhsv(135, 69%, 51%)
CMYKcmyk(69.2%, 0%, 52.3%, 49%)
CIE-LABlab(47.96, -41.82, 29.10)
CIE-LCHlch(47.96, 50.95, 145.16°)
OKLaboklab(53.73% -0.1127 0.0704)
OKLCHoklch(53.73% 0.133 148)
XYZxyz(9.7265, 16.7631, 7.2795)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28823E #82286C
analogous
#3F8228 #28823E #28826B
triadic
#28823E #3E2882 #823E28
tetradic
#28823E #283F82 #82286C #826B28
square
#28823E #283F82 #82286C #826B28
split-complementary
#28823E #6B2882 #82283F
monochromatic
#0B2411 #1A5328 #28823E #36B154 #59CC75

Accessibility & contrast

On white

4.82
#28823E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28823E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28823E#FFFFFF#000000##FFFFFF
##28823E1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837638
Deuteranopia (green-blind)
#786F43
Tritanopia (blue-blind)
#037F72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #28823e;
/* rgb */ color: rgb(40, 130, 62);
/* oklch */ color: oklch(53.7% 0.133 148.0);
Tailwind
colors: {
  custom: {
    50: '#6ea775',
    500: '#28823e',
    950: '#000000',
  },
}
SCSS
$custom: #28823e;
$custom-light: #6ea775;
$custom-dark: #000000;
JSON
{
  "hex": "#28823e",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 62
  },
  "hsl": {
    "h": 134.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5373,
    "c": 0.13293,
    "h": 148
  },
  "luminance": 0.16764
}

Semantic roles & 50–950 ramp

primary
#28823E
secondary
#B1559A
accent
#4BB9DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #28823E

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

Preview Lab → · Contrast checker → · Palette generator →

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