#68A227#68A227

#68A227 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 64.8% C 0.162 H 131.9°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#68A227
RGBrgb(104, 162, 39)
HSLhsl(88, 61%, 39%)
HSVhsv(88, 76%, 64%)
CMYKcmyk(35.8%, 0%, 75.9%, 36.5%)
CIE-LABlab(60.72, -38.36, 54.10)
CIE-LCHlch(60.72, 66.32, 125.34°)
OKLaboklab(64.85% -0.1084 0.1206)
OKLCHoklch(64.85% 0.162 131.9)
XYZxyz(18.9952, 28.9294, 6.5022)
Luminance0.2893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68A227 #6127A2
analogous
#A29F27 #68A227 #2AA227
triadic
#68A227 #2768A2 #A22768
tetradic
#68A227 #27A29F #6127A2 #A2272A
square
#68A227 #27A29F #6127A2 #A2272A
split-complementary
#68A227 #272AA2 #9F27A2
monochromatic
#293F0F #48711B #68A227 #87CF37 #A5DB69

Accessibility & contrast

On white

3.09
#68A227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#68A227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #68A227
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68A227#FFFFFF#000000##000000
##68A2271.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950B
Deuteranopia (green-blind)
#A19133
Tritanopia (blue-blind)
#699B8B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #68a227;
/* rgb */ color: rgb(104, 162, 39);
/* oklch */ color: oklch(64.8% 0.162 131.9);
Tailwind
colors: {
  custom: {
    50: '#98be6a',
    500: '#68a227',
    950: '#000000',
  },
}
SCSS
$custom: #68a227;
$custom-light: #98be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#68a227",
  "rgb": {
    "r": 104,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 88.293,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64848,
    "c": 0.16221,
    "h": 131.9
  },
  "luminance": 0.2893
}

Semantic roles & 50–950 ramp

primary
#68A227
secondary
#9064C1
accent
#43E48F
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #68A227

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

Preview Lab → · Contrast checker → · Palette generator →

#68A227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva