#267C20#267C20

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

Color values

HEX#267C20
RGBrgb(38, 124, 32)
HSLhsl(116, 59%, 31%)
HSVhsv(116, 74%, 49%)
CMYKcmyk(69.4%, 0%, 74.2%, 51.4%)
CIE-LABlab(45.54, -43.72, 40.67)
CIE-LCHlch(45.54, 59.71, 137.07°)
OKLaboklab(51.61% -0.119 0.0925)
OKLCHoklch(51.61% 0.151 142.2)
XYZxyz(8.2672, 14.9308, 3.8125)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267C20 #76207C
analogous
#547C20 #267C20 #207C48
triadic
#267C20 #20267C #7C2026
tetradic
#267C20 #20547C #76207C #7C4820
square
#267C20 #20547C #76207C #7C4820
split-complementary
#267C20 #48207C #7C2054
monochromatic
#081B07 #174B13 #267C20 #35AD2D #50CF47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##267C20#FFFFFF#000000##FFFFFF
##267C201.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)
#7F7011
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#13786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #267c20;
/* rgb */ color: rgb(38, 124, 32);
/* oklch */ color: oklch(51.6% 0.151 142.2);
Tailwind
colors: {
  custom: {
    50: '#6da361',
    500: '#267c20',
    950: '#000000',
  },
}
SCSS
$custom: #267c20;
$custom-light: #6da361;
$custom-dark: #000000;
JSON
{
  "hex": "#267c20",
  "rgb": {
    "r": 38,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 116.087,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5161,
    "c": 0.15072,
    "h": 142.2
  },
  "luminance": 0.14932
}

Semantic roles & 50–950 ramp

primary
#267C20
secondary
#A849AF
accent
#46E2D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #267C20

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

Preview Lab → · Contrast checker → · Palette generator →

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