#68B228#68B228

#68B228 is a light, vivid yellow-green. Relative luminance 0.349; OKLCH L 68.9% C 0.182 H 134.2°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#68B228
RGBrgb(104, 178, 40)
HSLhsl(92, 63%, 43%)
HSVhsv(92, 78%, 70%)
CMYKcmyk(41.6%, 0%, 77.5%, 30.2%)
CIE-LABlab(65.70, -45.10, 58.55)
CIE-LCHlch(65.70, 73.90, 127.61°)
OKLaboklab(68.92% -0.1266 0.1301)
OKLCHoklch(68.92% 0.182 134.2)
XYZxyz(22.0119, 34.9359, 7.5905)
Luminance0.3494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68B228 #7228B2
analogous
#ADB228 #68B228 #28B22D
triadic
#68B228 #2868B2 #B22868
tetradic
#68B228 #28ADB2 #7228B2 #B22D28
square
#68B228 #28ADB2 #7228B2 #B22D28
split-complementary
#68B228 #2D28B2 #B228AD
monochromatic
#2E4E12 #4B801D #68B228 #86D543 #A6E075

Accessibility & contrast

On white

2.63
#68B228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#68B228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #68B228
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68B228#FFFFFF#000000##000000
##68B2281.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A301
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#67AB98
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #68b228;
/* rgb */ color: rgb(104, 178, 40);
/* oklch */ color: oklch(68.9% 0.182 134.2);
Tailwind
colors: {
  custom: {
    50: '#99c96d',
    500: '#68b228',
    950: '#000000',
  },
}
SCSS
$custom: #68b228;
$custom-light: #99c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#68b228",
  "rgb": {
    "r": 104,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 92.174,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68923,
    "c": 0.18152,
    "h": 134.2
  },
  "luminance": 0.34937
}

Semantic roles & 50–950 ramp

primary
#68B228
secondary
#9E6FC7
accent
#41E69A
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0F1308
muted
#7E827B

Preview Lab

Preview with #68B228

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

Preview Lab → · Contrast checker → · Palette generator →

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