#268229#268229

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

Color values

HEX#268229
RGBrgb(38, 130, 41)
HSLhsl(122, 55%, 33%)
HSVhsv(122, 71%, 51%)
CMYKcmyk(70.8%, 0%, 68.5%, 49%)
CIE-LABlab(47.67, -45.02, 39.10)
CIE-LCHlch(47.67, 59.63, 139.03°)
OKLaboklab(53.4% -0.1221 0.0903)
OKLCHoklch(53.4% 0.152 143.5)
XYZxyz(9.1816, 16.5364, 4.8054)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268229 #82267F
analogous
#518226 #268229 #268257
triadic
#268229 #292682 #822926
tetradic
#268229 #265182 #82267F #825726
square
#268229 #265182 #82267F #825726
split-complementary
#268229 #572682 #822651
monochromatic
#0A230B #18531A #268229 #34B138 #55CD59

Accessibility & contrast

On white

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

On black

4.31
#268229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##268229#FFFFFF#000000##FFFFFF
##2682291.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#0B7E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #268229;
/* rgb */ color: rgb(38, 130, 41);
/* oklch */ color: oklch(53.4% 0.152 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ea767',
    500: '#268229',
    950: '#000000',
  },
}
SCSS
$custom: #268229;
$custom-light: #6ea767;
$custom-dark: #000000;
JSON
{
  "hex": "#268229",
  "rgb": {
    "r": 38,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 121.957,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53399,
    "c": 0.15186,
    "h": 143.5
  },
  "luminance": 0.16537
}

Semantic roles & 50–950 ramp

primary
#268229
secondary
#B252AF
accent
#4AD9DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #268229

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

Preview Lab → · Contrast checker → · Palette generator →

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