#267D1F#267D1F

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

Color values

HEX#267D1F
RGBrgb(38, 125, 31)
HSLhsl(116, 60%, 31%)
HSVhsv(116, 75%, 49%)
CMYKcmyk(69.6%, 0%, 75.2%, 51%)
CIE-LABlab(45.88, -44.17, 41.42)
CIE-LCHlch(45.88, 60.55, 136.84°)
OKLaboklab(51.89% -0.1203 0.0939)
OKLCHoklch(51.89% 0.153 142)
XYZxyz(8.3798, 15.1774, 3.7840)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267D1F #761F7D
analogous
#557D1F #267D1F #1F7D47
triadic
#267D1F #1F267D #7D1F26
tetradic
#267D1F #1F557D #761F7D #7D471F
square
#267D1F #1F557D #761F7D #7D471F
split-complementary
#267D1F #471F7D #7D1F55
monochromatic
#081B07 #174C13 #267D1F #35AE2B #50D145

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##267D1F#FFFFFF#000000##FFFFFF
##267D1F1.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)
#80710E
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#12796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #267d1f;
/* rgb */ color: rgb(38, 125, 31);
/* oklch */ color: oklch(51.9% 0.153 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ea461',
    500: '#267d1f',
    950: '#000000',
  },
}
SCSS
$custom: #267d1f;
$custom-light: #6ea461;
$custom-dark: #000000;
JSON
{
  "hex": "#267d1f",
  "rgb": {
    "r": 38,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 115.532,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51886,
    "c": 0.15261,
    "h": 142
  },
  "luminance": 0.15178
}

Semantic roles & 50–950 ramp

primary
#267D1F
secondary
#A848B0
accent
#44E3D8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #267D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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