#288123#288123

#288123 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.154 H 142.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#288123
RGBrgb(40, 129, 35)
HSLhsl(117, 57%, 32%)
HSVhsv(117, 73%, 51%)
CMYKcmyk(69%, 0%, 72.9%, 49.4%)
CIE-LABlab(47.33, -44.84, 41.32)
CIE-LCHlch(47.33, 60.97, 137.34°)
OKLaboklab(53.12% -0.122 0.0942)
OKLCHoklch(53.12% 0.154 142.3)
XYZxyz(9.0282, 16.2720, 4.2548)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288123 #7C2381
analogous
#578123 #288123 #23814D
triadic
#288123 #232881 #812328
tetradic
#288123 #235781 #7C2381 #814D23
square
#288123 #235781 #7C2381 #814D23
split-complementary
#288123 #4D2381 #812357
monochromatic
#0A2109 #195116 #288123 #37B130 #56CF4F

Accessibility & contrast

On white

4.94
#288123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#288123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288123
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288123#FFFFFF#000000##FFFFFF
##2881231.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847514
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#147D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #288123;
/* rgb */ color: rgb(40, 129, 35);
/* oklch */ color: oklch(53.1% 0.154 142.3);
Tailwind
colors: {
  custom: {
    50: '#6fa664',
    500: '#288123',
    950: '#000000',
  },
}
SCSS
$custom: #288123;
$custom-light: #6fa664;
$custom-dark: #000000;
JSON
{
  "hex": "#288123",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 116.809,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53115,
    "c": 0.15415,
    "h": 142.3
  },
  "luminance": 0.16273
}

Semantic roles & 50–950 ramp

primary
#288123
secondary
#AD4DB3
accent
#47E1D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #288123

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

Preview Lab → · Contrast checker → · Palette generator →

#288123 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva