#268B22#268B22

#268B22 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.168 H 142.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#268B22
RGBrgb(38, 139, 34)
HSLhsl(118, 61%, 34%)
HSVhsv(118, 76%, 55%)
CMYKcmyk(72.7%, 0%, 75.5%, 45.5%)
CIE-LABlab(50.68, -48.87, 45.13)
CIE-LCHlch(50.68, 66.52, 137.28°)
OKLaboklab(55.88% -0.1329 0.102)
OKLCHoklch(55.88% 0.168 142.5)
XYZxyz(10.3201, 18.9917, 4.6349)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268B22 #87228B
analogous
#5B8B22 #268B22 #228B53
triadic
#268B22 #22268B #8B2226
tetradic
#268B22 #225B8B #87228B #8B5322
square
#268B22 #225B8B #87228B #8B5322
split-complementary
#268B22 #53228B #8B225B
monochromatic
#0B290A #195A16 #268B22 #33BC2E #58D553

Accessibility & contrast

On white

4.38
#268B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#268B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268B22
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268B22#FFFFFF#000000##000000
##268B221.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0E
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#058777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #268b22;
/* rgb */ color: rgb(38, 139, 34);
/* oklch */ color: oklch(55.9% 0.168 142.5);
Tailwind
colors: {
  custom: {
    50: '#71ae64',
    500: '#268b22',
    950: '#000000',
  },
}
SCSS
$custom: #268b22;
$custom-light: #71ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#268b22",
  "rgb": {
    "r": 38,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 117.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55875,
    "c": 0.16754,
    "h": 142.5
  },
  "luminance": 0.18993
}

Semantic roles & 50–950 ramp

primary
#268B22
secondary
#B550B8
accent
#44E4DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268B22

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

Preview Lab → · Contrast checker → · Palette generator →

#268B22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva