#267D22#267D22

#267D22 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.151 H 142.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#267D22
RGBrgb(38, 125, 34)
HSLhsl(117, 57%, 31%)
HSVhsv(117, 73%, 49%)
CMYKcmyk(69.6%, 0%, 72.8%, 51%)
CIE-LABlab(45.90, -43.90, 40.22)
CIE-LCHlch(45.90, 59.54, 137.50°)
OKLaboklab(51.91% -0.1194 0.0918)
OKLCHoklch(51.91% 0.151 142.5)
XYZxyz(8.4212, 15.1939, 4.0020)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267D22 #79227D
analogous
#537D22 #267D22 #227D4B
triadic
#267D22 #22267D #7D2226
tetradic
#267D22 #22537D #79227D #7D4B22
square
#267D22 #22537D #79227D #7D4B22
split-complementary
#267D22 #4B227D #7D2253
monochromatic
#091D08 #174D15 #267D22 #35AD2F #51CE4B

Accessibility & contrast

On white

5.20
#267D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#267D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267D22
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267D22#FFFFFF#000000##FFFFFF
##267D221.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#11796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #267d22;
/* rgb */ color: rgb(38, 125, 34);
/* oklch */ color: oklch(51.9% 0.151 142.5);
Tailwind
colors: {
  custom: {
    50: '#6ea463',
    500: '#267d22',
    950: '#000000',
  },
}
SCSS
$custom: #267d22;
$custom-light: #6ea463;
$custom-dark: #000000;
JSON
{
  "hex": "#267d22",
  "rgb": {
    "r": 38,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 117.363,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51912,
    "c": 0.15063,
    "h": 142.5
  },
  "luminance": 0.15195
}

Semantic roles & 50–950 ramp

primary
#267D22
secondary
#AB4BB0
accent
#47E0DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #267D22

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

Preview Lab → · Contrast checker → · Palette generator →

#267D22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva