#68B31B#68B31B

#68B31B is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.1% C 0.188 H 133.7°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#68B31B
RGBrgb(104, 179, 27)
HSLhsl(90, 74%, 40%)
HSVhsv(90, 85%, 70%)
CMYKcmyk(41.9%, 0%, 84.9%, 29.8%)
CIE-LABlab(65.95, -46.12, 62.41)
CIE-LCHlch(65.95, 77.60, 126.47°)
OKLaboklab(69.11% -0.1301 0.1363)
OKLCHoklch(69.11% 0.188 133.7)
XYZxyz(22.0265, 35.2612, 6.6822)
Luminance0.3526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68B31B #661BB3
analogous
#B3B21B #68B31B #1CB31B
triadic
#68B31B #1B68B3 #B31B68
tetradic
#68B31B #1BB3B2 #661BB3 #B31B1C
square
#68B31B #1BB3B2 #661BB3 #B31B1C
split-complementary
#68B31B #1B1CB3 #B21BB3
monochromatic
#2A490B #497E13 #68B31B #87DF2C #A5E761

Accessibility & contrast

On white

2.61
#68B31B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#68B31B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #68B31B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68B31B#FFFFFF#000000##000000
##68B31B1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B09E2F
Tritanopia (blue-blind)
#68AC98
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #68b31b;
/* rgb */ color: rgb(104, 179, 27);
/* oklch */ color: oklch(69.1% 0.188 133.7);
Tailwind
colors: {
  custom: {
    50: '#9aca68',
    500: '#68b31b',
    950: '#000000',
  },
}
SCSS
$custom: #68b31b;
$custom-light: #9aca68;
$custom-dark: #000000;
JSON
{
  "hex": "#68b31b",
  "rgb": {
    "r": 104,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 89.605,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69112,
    "c": 0.1884,
    "h": 133.7
  },
  "luminance": 0.35262
}

Semantic roles & 50–950 ramp

primary
#68B31B
secondary
#945ECC
accent
#37F093
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0F1307
muted
#7E827A

Preview Lab

Preview with #68B31B

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

Preview Lab → · Contrast checker → · Palette generator →

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