#268338#268338

#268338 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.141 H 146.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#268338
RGBrgb(38, 131, 56)
HSLhsl(132, 55%, 33%)
HSVhsv(132, 71%, 51%)
CMYKcmyk(71%, 0%, 57.3%, 48.6%)
CIE-LABlab(48.17, -43.51, 32.47)
CIE-LCHlch(48.17, 54.29, 143.27°)
OKLaboklab(53.86% -0.1174 0.0775)
OKLCHoklch(53.86% 0.141 146.6)
XYZxyz(9.6288, 16.9291, 6.5008)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268338 #832671
analogous
#428326 #268338 #268366
triadic
#268338 #382683 #833826
tetradic
#268338 #264283 #832671 #836626
square
#268338 #264283 #832671 #836626
split-complementary
#268338 #662683 #832642
monochromatic
#0A240F #185424 #268338 #34B24C #56CE6D

Accessibility & contrast

On white

4.79
#268338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#268338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268338
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268338#FFFFFF#000000##FFFFFF
##2683381.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857731
Deuteranopia (green-blind)
#7A6F3E
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #268338;
/* rgb */ color: rgb(38, 131, 56);
/* oklch */ color: oklch(53.9% 0.141 146.6);
Tailwind
colors: {
  custom: {
    50: '#6ea871',
    500: '#268338',
    950: '#000000',
  },
}
SCSS
$custom: #268338;
$custom-light: #6ea871;
$custom-dark: #000000;
JSON
{
  "hex": "#268338",
  "rgb": {
    "r": 38,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 131.613,
    "s": 55.03,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53865,
    "c": 0.14064,
    "h": 146.6
  },
  "luminance": 0.1693
}

Semantic roles & 50–950 ramp

primary
#268338
secondary
#B252A0
accent
#49C2DE
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #268338

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

Preview Lab → · Contrast checker → · Palette generator →

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