#28823F#28823F

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

Color values

HEX#28823F
RGBrgb(40, 130, 63)
HSLhsl(135, 53%, 33%)
HSVhsv(135, 69%, 51%)
CMYKcmyk(69.2%, 0%, 51.5%, 49%)
CIE-LABlab(47.97, -41.66, 28.59)
CIE-LCHlch(47.97, 50.52, 145.54°)
OKLaboklab(53.75% -0.1123 0.0693)
OKLCHoklch(53.75% 0.132 148.3)
XYZxyz(9.7542, 16.7742, 7.4254)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28823F #82286B
analogous
#3E8228 #28823F #28826C
triadic
#28823F #3F2882 #823F28
tetradic
#28823F #283E82 #82286B #826C28
square
#28823F #283E82 #82286B #826C28
split-complementary
#28823F #6C2882 #82283E
monochromatic
#0B2412 #1A5328 #28823F #36B156 #59CC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28823F#FFFFFF#000000##FFFFFF
##28823F1.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)
#837739
Deuteranopia (green-blind)
#786F44
Tritanopia (blue-blind)
#027F72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #28823f;
/* rgb */ color: rgb(40, 130, 63);
/* oklch */ color: oklch(53.7% 0.132 148.3);
Tailwind
colors: {
  custom: {
    50: '#6ea775',
    500: '#28823f',
    950: '#000000',
  },
}
SCSS
$custom: #28823f;
$custom-light: #6ea775;
$custom-dark: #000000;
JSON
{
  "hex": "#28823f",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 63
  },
  "hsl": {
    "h": 135.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53747,
    "c": 0.13198,
    "h": 148.3
  },
  "luminance": 0.16775
}

Semantic roles & 50–950 ramp

primary
#28823F
secondary
#B15599
accent
#4BB7DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #28823F

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

Preview Lab → · Contrast checker → · Palette generator →

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