#267B1F#267B1F

#267B1F is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.150 H 142.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#267B1F
RGBrgb(38, 123, 31)
HSLhsl(115, 60%, 30%)
HSVhsv(115, 75%, 48%)
CMYKcmyk(69.1%, 0%, 74.8%, 51.8%)
CIE-LABlab(45.19, -43.44, 40.71)
CIE-LCHlch(45.19, 59.54, 136.86°)
OKLaboklab(51.32% -0.1183 0.0924)
OKLCHoklch(51.32% 0.15 142)
XYZxyz(8.1292, 14.6761, 3.7004)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267B1F #741F7B
analogous
#547B1F #267B1F #1F7B46
triadic
#267B1F #1F267B #7B1F26
tetradic
#267B1F #1F547B #741F7B #7B461F
square
#267B1F #1F547B #741F7B #7B461F
split-complementary
#267B1F #461F7B #7B1F54
monochromatic
#081906 #174A13 #267B1F #35AC2B #4FD044

Accessibility & contrast

On white

5.34
#267B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#267B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267B1F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267B1F#FFFFFF#000000##FFFFFF
##267B1F1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0F
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#137769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #267b1f;
/* rgb */ color: rgb(38, 123, 31);
/* oklch */ color: oklch(51.3% 0.150 142.0);
Tailwind
colors: {
  custom: {
    50: '#6da261',
    500: '#267b1f',
    950: '#000000',
  },
}
SCSS
$custom: #267b1f;
$custom-light: #6da261;
$custom-dark: #000000;
JSON
{
  "hex": "#267b1f",
  "rgb": {
    "r": 38,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 115.435,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51316,
    "c": 0.15015,
    "h": 142
  },
  "luminance": 0.14677
}

Semantic roles & 50–950 ramp

primary
#267B1F
secondary
#A648AE
accent
#45E3D7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #267B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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