#68971B#68971B

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

Color values

HEX#68971B
RGBrgb(104, 151, 27)
HSLhsl(83, 70%, 35%)
HSVhsv(83, 82%, 59%)
CMYKcmyk(31.1%, 0%, 82.1%, 40.8%)
CIE-LABlab(57.23, -34.06, 54.64)
CIE-LCHlch(57.23, 64.39, 121.94°)
OKLaboklab(61.98% -0.0976 0.1199)
OKLCHoklch(61.98% 0.155 129.2)
XYZxyz(16.9733, 25.1549, 4.9978)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68971B #4A1B97
analogous
#97881B #68971B #2A971B
triadic
#68971B #1B6897 #971B68
tetradic
#68971B #1B9788 #4A1B97 #971B2A
square
#68971B #1B9788 #4A1B97 #971B2A
split-complementary
#68971B #1B2A97 #881B97
monochromatic
#202F08 #446312 #68971B #8CCB24 #A8DF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##68971B#FFFFFF#000000##000000
##68971B1.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)
#9F8C00
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#6B9081
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #68971b;
/* rgb */ color: rgb(104, 151, 27);
/* oklch */ color: oklch(62.0% 0.155 129.2);
Tailwind
colors: {
  custom: {
    50: '#98b664',
    500: '#68971b',
    950: '#000000',
  },
}
SCSS
$custom: #68971b;
$custom-light: #98b664;
$custom-dark: #000000;
JSON
{
  "hex": "#68971b",
  "rgb": {
    "r": 104,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 82.742,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6198,
    "c": 0.15461,
    "h": 129.2
  },
  "luminance": 0.25155
}

Semantic roles & 50–950 ramp

primary
#68971B
secondary
#794CC1
accent
#3BEC7E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #68971B

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

Preview Lab → · Contrast checker → · Palette generator →

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