#268022#268022

#268022 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.154 H 142.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#268022
RGBrgb(38, 128, 34)
HSLhsl(117, 58%, 32%)
HSVhsv(117, 73%, 50%)
CMYKcmyk(70.3%, 0%, 73.4%, 49.8%)
CIE-LABlab(46.93, -44.99, 41.30)
CIE-LCHlch(46.93, 61.07, 137.45°)
OKLaboklab(52.77% -0.1224 0.094)
OKLCHoklch(52.77% 0.154 142.5)
XYZxyz(8.8067, 15.9650, 4.1305)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268022 #7C2280
analogous
#558022 #268022 #22804D
triadic
#268022 #222680 #802226
tetradic
#268022 #225580 #7C2280 #804D22
square
#268022 #225580 #7C2280 #804D22
split-complementary
#268022 #4D2280 #802255
monochromatic
#091F08 #185015 #268022 #34B02F #52D04D

Accessibility & contrast

On white

5.01
#268022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#268022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268022
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268022#FFFFFF#000000##FFFFFF
##2680221.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #268022;
/* rgb */ color: rgb(38, 128, 34);
/* oklch */ color: oklch(52.8% 0.154 142.5);
Tailwind
colors: {
  custom: {
    50: '#6ea663',
    500: '#268022',
    950: '#000000',
  },
}
SCSS
$custom: #268022;
$custom-light: #6ea663;
$custom-dark: #000000;
JSON
{
  "hex": "#268022",
  "rgb": {
    "r": 38,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 117.447,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.15432,
    "h": 142.5
  },
  "luminance": 0.15966
}

Semantic roles & 50–950 ramp

primary
#268022
secondary
#AE4BB2
accent
#47E1DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #268022

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

Preview Lab → · Contrast checker → · Palette generator →

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