#268231#268231

#268231 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.145 H 145.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#268231
RGBrgb(38, 130, 49)
HSLhsl(127, 55%, 33%)
HSVhsv(127, 71%, 51%)
CMYKcmyk(70.8%, 0%, 62.3%, 49%)
CIE-LABlab(47.75, -44.09, 35.46)
CIE-LCHlch(47.75, 56.58, 141.19°)
OKLaboklab(53.49% -0.1192 0.0834)
OKLCHoklch(53.49% 0.145 145)
XYZxyz(9.3357, 16.5981, 5.6169)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268231 #822677
analogous
#498226 #268231 #26825F
triadic
#268231 #312682 #823126
tetradic
#268231 #264982 #822677 #825F26
square
#268231 #264982 #822677 #825F26
split-complementary
#268231 #5F2682 #822649
monochromatic
#0A230D #18531F #268231 #34B143 #55CD63

Accessibility & contrast

On white

4.86
#268231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#268231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268231
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268231#FFFFFF#000000##FFFFFF
##2682311.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847628
Deuteranopia (green-blind)
#796E38
Tritanopia (blue-blind)
#067F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #268231;
/* rgb */ color: rgb(38, 130, 49);
/* oklch */ color: oklch(53.5% 0.145 145.0);
Tailwind
colors: {
  custom: {
    50: '#6ea76c',
    500: '#268231',
    950: '#000000',
  },
}
SCSS
$custom: #268231;
$custom-light: #6ea76c;
$custom-dark: #000000;
JSON
{
  "hex": "#268231",
  "rgb": {
    "r": 38,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 127.174,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5349,
    "c": 0.14546,
    "h": 145
  },
  "luminance": 0.16599
}

Semantic roles & 50–950 ramp

primary
#268231
secondary
#B252A6
accent
#4ACCDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #268231

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

Preview Lab → · Contrast checker → · Palette generator →

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