#28823C#28823C

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

Color values

HEX#28823C
RGBrgb(40, 130, 60)
HSLhsl(133, 53%, 33%)
HSVhsv(133, 69%, 51%)
CMYKcmyk(69.2%, 0%, 53.8%, 49%)
CIE-LABlab(47.93, -42.13, 30.12)
CIE-LCHlch(47.93, 51.80, 144.44°)
OKLaboklab(53.7% -0.1136 0.0726)
OKLCHoklch(53.7% 0.135 147.4)
XYZxyz(9.6726, 16.7416, 6.9958)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28823C #82286E
analogous
#418228 #28823C #288269
triadic
#28823C #3C2882 #823C28
tetradic
#28823C #284182 #82286E #826928
square
#28823C #284182 #82286E #826928
split-complementary
#28823C #692882 #822841
monochromatic
#0B2411 #1A5326 #28823C #36B152 #59CC72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28823C#FFFFFF#000000##FFFFFF
##28823C1.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)
#847636
Deuteranopia (green-blind)
#796F41
Tritanopia (blue-blind)
#057F72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #28823c;
/* rgb */ color: rgb(40, 130, 60);
/* oklch */ color: oklch(53.7% 0.135 147.4);
Tailwind
colors: {
  custom: {
    50: '#6ea773',
    500: '#28823c',
    950: '#000000',
  },
}
SCSS
$custom: #28823c;
$custom-light: #6ea773;
$custom-dark: #000000;
JSON
{
  "hex": "#28823c",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 60
  },
  "hsl": {
    "h": 133.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53699,
    "c": 0.13483,
    "h": 147.4
  },
  "luminance": 0.16743
}

Semantic roles & 50–950 ramp

primary
#28823C
secondary
#B1559C
accent
#4BBCDC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #28823C

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

Preview Lab → · Contrast checker → · Palette generator →

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