#268A23#268A23

#268A23 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.166 H 142.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#268A23
RGBrgb(38, 138, 35)
HSLhsl(118, 60%, 34%)
HSVhsv(118, 75%, 54%)
CMYKcmyk(72.5%, 0%, 74.6%, 45.9%)
CIE-LABlab(50.35, -48.44, 44.41)
CIE-LCHlch(50.35, 65.72, 137.48°)
OKLaboklab(55.6% -0.1317 0.1007)
OKLCHoklch(55.6% 0.166 142.6)
XYZxyz(10.1906, 18.7093, 4.6640)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268A23 #87238A
analogous
#5A8A23 #268A23 #238A54
triadic
#268A23 #23268A #8A2326
tetradic
#268A23 #235A8A #87238A #8A5423
square
#268A23 #235A8A #87238A #8A5423
split-complementary
#268A23 #54238A #8A235A
monochromatic
#0B280A #195917 #268A23 #33BB2F #58D454

Accessibility & contrast

On white

4.43
#268A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#268A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268A23
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268A23#FFFFFF#000000##000000
##268A231.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D10
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#068676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #268a23;
/* rgb */ color: rgb(38, 138, 35);
/* oklch */ color: oklch(55.6% 0.166 142.6);
Tailwind
colors: {
  custom: {
    50: '#71ad65',
    500: '#268a23',
    950: '#000000',
  },
}
SCSS
$custom: #268a23;
$custom-light: #71ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#268a23",
  "rgb": {
    "r": 38,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 118.252,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55601,
    "c": 0.16574,
    "h": 142.6
  },
  "luminance": 0.1871
}

Semantic roles & 50–950 ramp

primary
#268A23
secondary
#B551B7
accent
#45E3DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268A23

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

Preview Lab → · Contrast checker → · Palette generator →

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