#268223#268223

#268223 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.156 H 142.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#268223
RGBrgb(38, 130, 35)
HSLhsl(118, 58%, 32%)
HSVhsv(118, 73%, 51%)
CMYKcmyk(70.8%, 0%, 73.1%, 49%)
CIE-LABlab(47.62, -45.62, 41.61)
CIE-LCHlch(47.62, 61.74, 137.63°)
OKLaboklab(53.34% -0.124 0.0948)
OKLCHoklch(53.34% 0.156 142.6)
XYZxyz(9.0848, 16.4977, 4.2954)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268223 #7F2382
analogous
#568223 #268223 #23824F
triadic
#268223 #232682 #822326
tetradic
#268223 #235682 #7F2382 #824F23
square
#268223 #235682 #7F2382 #824F23
split-complementary
#268223 #4F2382 #822356
monochromatic
#0A2209 #185216 #268223 #34B230 #54D050

Accessibility & contrast

On white

4.88
#268223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#268223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268223
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268223#FFFFFF#000000##FFFFFF
##2682231.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857514
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#0D7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #268223;
/* rgb */ color: rgb(38, 130, 35);
/* oklch */ color: oklch(53.3% 0.156 142.6);
Tailwind
colors: {
  custom: {
    50: '#6fa764',
    500: '#268223',
    950: '#000000',
  },
}
SCSS
$custom: #268223;
$custom-light: #6fa764;
$custom-dark: #000000;
JSON
{
  "hex": "#268223",
  "rgb": {
    "r": 38,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 118.105,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53342,
    "c": 0.15611,
    "h": 142.6
  },
  "luminance": 0.16499
}

Semantic roles & 50–950 ramp

primary
#268223
secondary
#B04DB3
accent
#47E1DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #268223

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

Preview Lab → · Contrast checker → · Palette generator →

#268223 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva