#268F23#268F23

#268F23 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.172 H 142.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#268F23
RGBrgb(38, 143, 35)
HSLhsl(118, 61%, 35%)
HSVhsv(118, 76%, 56%)
CMYKcmyk(73.4%, 0%, 75.5%, 43.9%)
CIE-LABlab(52.04, -50.16, 46.12)
CIE-LCHlch(52.04, 68.14, 137.40°)
OKLaboklab(57.01% -0.1363 0.1043)
OKLCHoklch(57.01% 0.172 142.6)
XYZxyz(10.9245, 20.1771, 4.9086)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268F23 #8C238F
analogous
#5C8F23 #268F23 #238F56
triadic
#268F23 #23268F #8F2326
tetradic
#268F23 #235C8F #8C238F #8F5623
square
#268F23 #235C8F #8C238F #8F5623
split-complementary
#268F23 #56238F #8F235C
monochromatic
#0C2D0B #195E17 #268F23 #33C02F #5AD657

Accessibility & contrast

On white

4.17
#268F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#268F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268F23
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268F23#FFFFFF#000000##000000
##268F231.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#018B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #268f23;
/* rgb */ color: rgb(38, 143, 35);
/* oklch */ color: oklch(57.0% 0.172 142.6);
Tailwind
colors: {
  custom: {
    50: '#72b165',
    500: '#268f23',
    950: '#000000',
  },
}
SCSS
$custom: #268f23;
$custom-light: #72b165;
$custom-dark: #000000;
JSON
{
  "hex": "#268f23",
  "rgb": {
    "r": 38,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 118.333,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57005,
    "c": 0.17161,
    "h": 142.6
  },
  "luminance": 0.20178
}

Semantic roles & 50–950 ramp

primary
#268F23
secondary
#B754BA
accent
#44E4DF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #268F23

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

Preview Lab → · Contrast checker → · Palette generator →

#268F23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva