#68971A#68971A

#68971A is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 62.0% C 0.155 H 129.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#68971A
RGBrgb(104, 151, 26)
HSLhsl(83, 71%, 35%)
HSVhsv(83, 83%, 59%)
CMYKcmyk(31.1%, 0%, 82.8%, 40.8%)
CIE-LABlab(57.22, -34.11, 54.92)
CIE-LCHlch(57.22, 64.65, 121.84°)
OKLaboklab(61.98% -0.0978 0.1203)
OKLCHoklch(61.98% 0.155 129.1)
XYZxyz(16.9620, 25.1504, 4.9379)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68971A #491A97
analogous
#97881A #68971A #2A971A
triadic
#68971A #1A6897 #971A68
tetradic
#68971A #1A9788 #491A97 #971A2A
square
#68971A #1A9788 #491A97 #971A2A
split-complementary
#68971A #1A2A97 #881A97
monochromatic
#202F08 #446311 #68971A #8CCB23 #A8E04B

Accessibility & contrast

On white

3.48
#68971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#68971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #68971A
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68971A#FFFFFF#000000##000000
##68971A1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8B00
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#6B9081
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #68971a;
/* rgb */ color: rgb(104, 151, 26);
/* oklch */ color: oklch(62.0% 0.155 129.1);
Tailwind
colors: {
  custom: {
    50: '#98b663',
    500: '#68971a',
    950: '#000000',
  },
}
SCSS
$custom: #68971a;
$custom-light: #98b663;
$custom-dark: #000000;
JSON
{
  "hex": "#68971a",
  "rgb": {
    "r": 104,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 82.56,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61975,
    "c": 0.15506,
    "h": 129.1
  },
  "luminance": 0.25151
}

Semantic roles & 50–950 ramp

primary
#68971A
secondary
#784BC2
accent
#3AED7E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #68971A

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

Preview Lab → · Contrast checker → · Palette generator →

#68971A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva