#267F20#267F20

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

Color values

HEX#267F20
RGBrgb(38, 127, 32)
HSLhsl(116, 60%, 31%)
HSVhsv(116, 75%, 50%)
CMYKcmyk(70.1%, 0%, 74.8%, 50.2%)
CIE-LABlab(46.57, -44.81, 41.73)
CIE-LCHlch(46.57, 61.23, 137.04°)
OKLaboklab(52.46% -0.122 0.0947)
OKLCHoklch(52.46% 0.154 142.2)
XYZxyz(8.6489, 15.6942, 3.9397)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267F20 #79207F
analogous
#557F20 #267F20 #207F49
triadic
#267F20 #20267F #7F2026
tetradic
#267F20 #20557F #79207F #7F4920
square
#267F20 #20557F #79207F #7F4920
split-complementary
#267F20 #49207F #7F2055
monochromatic
#091D07 #174E14 #267F20 #35B02C #51D148

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##267F20#FFFFFF#000000##FFFFFF
##267F201.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)
#82730F
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#117B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #267f20;
/* rgb */ color: rgb(38, 127, 32);
/* oklch */ color: oklch(52.5% 0.154 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ea562',
    500: '#267f20',
    950: '#000000',
  },
}
SCSS
$custom: #267f20;
$custom-light: #6ea562;
$custom-dark: #000000;
JSON
{
  "hex": "#267f20",
  "rgb": {
    "r": 38,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 116.211,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52464,
    "c": 0.15441,
    "h": 142.2
  },
  "luminance": 0.15695
}

Semantic roles & 50–950 ramp

primary
#267F20
secondary
#AB49B2
accent
#45E3D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #267F20

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

Preview Lab → · Contrast checker → · Palette generator →

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