#267A23#267A23

#267A23 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.146 H 142.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#267A23
RGBrgb(38, 122, 35)
HSLhsl(118, 55%, 31%)
HSVhsv(118, 71%, 48%)
CMYKcmyk(68.9%, 0%, 71.3%, 52.2%)
CIE-LABlab(44.87, -42.70, 38.72)
CIE-LCHlch(44.87, 57.64, 137.80°)
OKLaboklab(51.07% -0.1161 0.0888)
OKLCHoklch(51.07% 0.146 142.6)
XYZxyz(8.0618, 14.4517, 3.9544)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267A23 #77237A
analogous
#517A23 #267A23 #237A4B
triadic
#267A23 #23267A #7A2326
tetradic
#267A23 #23517A #77237A #7A4B23
square
#267A23 #23517A #77237A #7A4B23
split-complementary
#267A23 #4B237A #7A2351
monochromatic
#081B08 #174A15 #267A23 #35AA31 #50CC4C

Accessibility & contrast

On white

5.40
#267A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#267A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267A23
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267A23#FFFFFF#000000##FFFFFF
##267A231.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E16
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#137668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #267a23;
/* rgb */ color: rgb(38, 122, 35);
/* oklch */ color: oklch(51.1% 0.146 142.6);
Tailwind
colors: {
  custom: {
    50: '#6da163',
    500: '#267a23',
    950: '#000000',
  },
}
SCSS
$custom: #267a23;
$custom-light: #6da163;
$custom-dark: #000000;
JSON
{
  "hex": "#267a23",
  "rgb": {
    "r": 38,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 117.931,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51066,
    "c": 0.14616,
    "h": 142.6
  },
  "luminance": 0.14452
}

Semantic roles & 50–950 ramp

primary
#267A23
secondary
#A94CAD
accent
#49DFDA
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #267A23

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

Preview Lab → · Contrast checker → · Palette generator →

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