#28630F#28630F

#28630F is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.3% C 0.129 H 138.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#28630F
RGBrgb(40, 99, 15)
HSLhsl(102, 74%, 22%)
HSVhsv(102, 85%, 39%)
CMYKcmyk(59.6%, 0%, 84.8%, 61.2%)
CIE-LABlab(36.76, -34.93, 38.35)
CIE-LCHlch(36.76, 51.87, 132.32°)
OKLaboklab(44.33% -0.0964 0.085)
OKLCHoklch(44.33% 0.129 138.6)
XYZxyz(5.4229, 9.4088, 1.9822)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28630F #4A0F63
analogous
#52630F #28630F #0F6320
triadic
#28630F #0F2863 #630F28
tetradic
#28630F #0F5263 #4A0F63 #63200F
square
#28630F #0F5263 #4A0F63 #63200F
split-complementary
#28630F #200F63 #630F52
monochromatic
#0B1B04 #132E07 #28630F #3D9817 #53CD1F

Accessibility & contrast

On white

7.29
#28630F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#28630F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28630F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28630F#FFFFFF#000000##FFFFFF
##28630F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#225F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28630f;
/* rgb */ color: rgb(40, 99, 15);
/* oklch */ color: oklch(44.3% 0.129 138.6);
Tailwind
colors: {
  custom: {
    50: '#6a9056',
    500: '#28630f',
    950: '#000000',
  },
}
SCSS
$custom: #28630f;
$custom-light: #6a9056;
$custom-dark: #000000;
JSON
{
  "hex": "#28630f",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 15
  },
  "hsl": {
    "h": 102.143,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44329,
    "c": 0.12859,
    "h": 138.6
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

primary
#28630F
secondary
#7C329C
accent
#37F0B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #28630F

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

Preview Lab → · Contrast checker → · Palette generator →

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