#267F1F#267F1F

#267F1F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.155 H 142.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#267F1F
RGBrgb(38, 127, 31)
HSLhsl(116, 61%, 31%)
HSVhsv(116, 76%, 50%)
CMYKcmyk(70.1%, 0%, 75.6%, 50.2%)
CIE-LABlab(46.56, -44.89, 42.11)
CIE-LCHlch(46.56, 61.56, 136.83°)
OKLaboklab(52.46% -0.1223 0.0953)
OKLCHoklch(52.46% 0.155 142.1)
XYZxyz(8.6355, 15.6888, 3.8692)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267F1F #781F7F
analogous
#567F1F #267F1F #1F7F48
triadic
#267F1F #1F267F #7F1F26
tetradic
#267F1F #1F567F #781F7F #7F481F
square
#267F1F #1F567F #781F7F #7F481F
split-complementary
#267F1F #481F7F #7F1F56
monochromatic
#091D07 #174E13 #267F1F #35B02B #51D246

Accessibility & contrast

On white

5.07
#267F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#267F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267F1F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267F1F#FFFFFF#000000##FFFFFF
##267F1F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730D
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#117B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #267f1f;
/* rgb */ color: rgb(38, 127, 31);
/* oklch */ color: oklch(52.5% 0.155 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ea561',
    500: '#267f1f',
    950: '#000000',
  },
}
SCSS
$custom: #267f1f;
$custom-light: #6ea561;
$custom-dark: #000000;
JSON
{
  "hex": "#267f1f",
  "rgb": {
    "r": 38,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 115.625,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52456,
    "c": 0.15504,
    "h": 142.1
  },
  "luminance": 0.1569
}

Semantic roles & 50–950 ramp

primary
#267F1F
secondary
#AA48B2
accent
#44E4D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #267F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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