#238022#238022

#238022 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.155 H 142.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#238022
RGBrgb(35, 128, 34)
HSLhsl(119, 58%, 32%)
HSVhsv(119, 73%, 50%)
CMYKcmyk(72.7%, 0%, 73.4%, 49.8%)
CIE-LABlab(46.86, -45.59, 41.20)
CIE-LCHlch(46.86, 61.45, 137.90°)
OKLaboklab(52.69% -0.1238 0.0938)
OKLCHoklch(52.69% 0.155 142.8)
XYZxyz(8.7005, 15.9102, 4.1255)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238022 #7F2280
analogous
#528022 #238022 #228050
triadic
#238022 #222380 #802223
tetradic
#238022 #225280 #7F2280 #805022
square
#238022 #225280 #7F2280 #805022
split-complementary
#238022 #502280 #802252
monochromatic
#091F08 #165015 #238022 #30B02F #4ED04D

Accessibility & contrast

On white

5.02
#238022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#238022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238022
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238022#FFFFFF#000000##FFFFFF
##2380221.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837413
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#067C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #238022;
/* rgb */ color: rgb(35, 128, 34);
/* oklch */ color: oklch(52.7% 0.155 142.8);
Tailwind
colors: {
  custom: {
    50: '#6da663',
    500: '#238022',
    950: '#000000',
  },
}
SCSS
$custom: #238022;
$custom-light: #6da663;
$custom-dark: #000000;
JSON
{
  "hex": "#238022",
  "rgb": {
    "r": 35,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 119.362,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52685,
    "c": 0.15537,
    "h": 142.8
  },
  "luminance": 0.15911
}

Semantic roles & 50–950 ramp

primary
#238022
secondary
#B14BB2
accent
#47E1E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #238022

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

Preview Lab → · Contrast checker → · Palette generator →

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