#68831F#68831F

#68831F is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.9% C 0.127 H 123.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#68831F
RGBrgb(104, 131, 31)
HSLhsl(76, 62%, 32%)
HSVhsv(76, 76%, 51%)
CMYKcmyk(20.6%, 0%, 76.3%, 48.6%)
CIE-LABlab(51.01, -24.31, 47.55)
CIE-LCHlch(51.01, 53.41, 117.08°)
OKLaboklab(56.94% -0.0708 0.1056)
OKLCHoklch(56.94% 0.127 123.8)
XYZxyz(14.0727, 19.2745, 4.2750)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68831F #3A1F83
analogous
#836C1F #68831F #36831F
triadic
#68831F #1F6883 #831F68
tetradic
#68831F #1F836C #3A1F83 #831F36
square
#68831F #1F836C #3A1F83 #831F36
split-complementary
#68831F #1F3683 #6C1F83
monochromatic
#192008 #415213 #68831F #8FB42B #AED449

Accessibility & contrast

On white

4.33
#68831F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#68831F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #68831F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68831F#FFFFFF#000000##000000
##68831F1.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0A
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#6D7C70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #68831f;
/* rgb */ color: rgb(104, 131, 31);
/* oklch */ color: oklch(56.9% 0.127 123.8);
Tailwind
colors: {
  custom: {
    50: '#96a763',
    500: '#68831f',
    950: '#000000',
  },
}
SCSS
$custom: #68831f;
$custom-light: #96a763;
$custom-dark: #000000;
JSON
{
  "hex": "#68831f",
  "rgb": {
    "r": 104,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 76.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56938,
    "c": 0.12715,
    "h": 123.8
  },
  "luminance": 0.19275
}

Semantic roles & 50–950 ramp

primary
#68831F
secondary
#6648B6
accent
#43E56F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #68831F

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

Preview Lab → · Contrast checker → · Palette generator →

#68831F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva