#267D23#267D23

#267D23 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.150 H 142.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#267D23
RGBrgb(38, 125, 35)
HSLhsl(118, 56%, 31%)
HSVhsv(118, 72%, 49%)
CMYKcmyk(69.6%, 0%, 72%, 51%)
CIE-LABlab(45.91, -43.81, 39.81)
CIE-LCHlch(45.91, 59.20, 137.73°)
OKLaboklab(51.92% -0.1191 0.0911)
OKLCHoklch(51.92% 0.15 142.6)
XYZxyz(8.4358, 15.1998, 4.0791)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267D23 #7A237D
analogous
#537D23 #267D23 #237D4D
triadic
#267D23 #23267D #7D2326
tetradic
#267D23 #23537D #7A237D #7D4D23
square
#267D23 #23537D #7A237D #7D4D23
split-complementary
#267D23 #4D237D #7D2353
monochromatic
#091D08 #174D16 #267D23 #35AD30 #51CD4D

Accessibility & contrast

On white

5.20
#267D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#267D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267D23
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267D23#FFFFFF#000000##FFFFFF
##267D231.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807115
Deuteranopia (green-blind)
#766A2C
Tritanopia (blue-blind)
#11796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #267d23;
/* rgb */ color: rgb(38, 125, 35);
/* oklch */ color: oklch(51.9% 0.150 142.6);
Tailwind
colors: {
  custom: {
    50: '#6da463',
    500: '#267d23',
    950: '#000000',
  },
}
SCSS
$custom: #267d23;
$custom-light: #6da463;
$custom-dark: #000000;
JSON
{
  "hex": "#267d23",
  "rgb": {
    "r": 38,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 118,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51921,
    "c": 0.14993,
    "h": 142.6
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

primary
#267D23
secondary
#AC4CAF
accent
#48E0DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #267D23

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

Preview Lab → · Contrast checker → · Palette generator →

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