#267C1F#267C1F

#267C1F is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.151 H 142.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#267C1F
RGBrgb(38, 124, 31)
HSLhsl(115, 60%, 30%)
HSVhsv(115, 75%, 49%)
CMYKcmyk(69.4%, 0%, 75%, 51.4%)
CIE-LABlab(45.53, -43.81, 41.06)
CIE-LCHlch(45.53, 60.05, 136.85°)
OKLaboklab(51.6% -0.1193 0.0931)
OKLCHoklch(51.6% 0.151 142)
XYZxyz(8.2538, 14.9254, 3.7420)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267C1F #751F7C
analogous
#547C1F #267C1F #1F7C46
triadic
#267C1F #1F267C #7C1F26
tetradic
#267C1F #1F547C #751F7C #7C461F
square
#267C1F #1F547C #751F7C #7C461F
split-complementary
#267C1F #461F7C #7C1F54
monochromatic
#081A07 #174B13 #267C1F #35AD2B #4FD045

Accessibility & contrast

On white

5.27
#267C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#267C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267C1F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267C1F#FFFFFF#000000##FFFFFF
##267C1F1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700F
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#13786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #267c1f;
/* rgb */ color: rgb(38, 124, 31);
/* oklch */ color: oklch(51.6% 0.151 142.0);
Tailwind
colors: {
  custom: {
    50: '#6da361',
    500: '#267c1f',
    950: '#000000',
  },
}
SCSS
$custom: #267c1f;
$custom-light: #6da361;
$custom-dark: #000000;
JSON
{
  "hex": "#267c1f",
  "rgb": {
    "r": 38,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 115.484,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.15138,
    "h": 142
  },
  "luminance": 0.14926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #267C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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