#267D21#267D21

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

Color values

HEX#267D21
RGBrgb(38, 125, 33)
HSLhsl(117, 58%, 31%)
HSVhsv(117, 74%, 49%)
CMYKcmyk(69.6%, 0%, 73.6%, 51%)
CIE-LABlab(45.89, -43.99, 40.63)
CIE-LCHlch(45.89, 59.88, 137.28°)
OKLaboklab(51.9% -0.1197 0.0925)
OKLCHoklch(51.9% 0.151 142.3)
XYZxyz(8.4070, 15.1882, 3.9271)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267D21 #78217D
analogous
#547D21 #267D21 #217D4A
triadic
#267D21 #21267D #7D2126
tetradic
#267D21 #21547D #78217D #7D4A21
square
#267D21 #21547D #78217D #7D4A21
split-complementary
#267D21 #4A217D #7D2154
monochromatic
#091C07 #174D14 #267D21 #35AD2E #51CF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##267D21#FFFFFF#000000##FFFFFF
##267D211.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)
#807112
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#12796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #267d21;
/* rgb */ color: rgb(38, 125, 33);
/* oklch */ color: oklch(51.9% 0.151 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ea462',
    500: '#267d21',
    950: '#000000',
  },
}
SCSS
$custom: #267d21;
$custom-light: #6ea462;
$custom-dark: #000000;
JSON
{
  "hex": "#267d21",
  "rgb": {
    "r": 38,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 116.739,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.1513,
    "h": 142.3
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

primary
#267D21
secondary
#AA4AB0
accent
#46E1D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #267D21

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

Preview Lab → · Contrast checker → · Palette generator →

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