#268331#268331

#268331 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.147 H 145.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#268331
RGBrgb(38, 131, 49)
HSLhsl(127, 55%, 33%)
HSVhsv(127, 71%, 51%)
CMYKcmyk(71%, 0%, 62.6%, 48.6%)
CIE-LABlab(48.09, -44.46, 35.85)
CIE-LCHlch(48.09, 57.11, 141.12°)
OKLaboklab(53.77% -0.1202 0.0842)
OKLCHoklch(53.77% 0.147 145)
XYZxyz(9.4694, 16.8654, 5.6614)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268331 #832678
analogous
#498326 #268331 #26835F
triadic
#268331 #312683 #833126
tetradic
#268331 #264983 #832678 #835F26
square
#268331 #264983 #832678 #835F26
split-complementary
#268331 #5F2683 #832649
monochromatic
#0A240E #18541F #268331 #34B243 #56CE64

Accessibility & contrast

On white

4.80
#268331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#268331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268331
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268331#FFFFFF#000000##FFFFFF
##2683311.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857728
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#058071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #268331;
/* rgb */ color: rgb(38, 131, 49);
/* oklch */ color: oklch(53.8% 0.147 145.0);
Tailwind
colors: {
  custom: {
    50: '#6ea86c',
    500: '#268331',
    950: '#000000',
  },
}
SCSS
$custom: #268331;
$custom-light: #6ea86c;
$custom-dark: #000000;
JSON
{
  "hex": "#268331",
  "rgb": {
    "r": 38,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 127.097,
    "s": 55.03,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53772,
    "c": 0.14676,
    "h": 145
  },
  "luminance": 0.16866
}

Semantic roles & 50–950 ramp

primary
#268331
secondary
#B252A7
accent
#49CDDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #268331

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

Preview Lab → · Contrast checker → · Palette generator →

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