#68842A#68842A

#68842A is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.3% C 0.121 H 125.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#68842A
RGBrgb(104, 132, 42)
HSLhsl(79, 52%, 34%)
HSVhsv(79, 68%, 52%)
CMYKcmyk(21.2%, 0%, 68.2%, 48.2%)
CIE-LABlab(51.40, -24.09, 43.55)
CIE-LCHlch(51.40, 49.77, 118.94°)
OKLaboklab(57.28% -0.0692 0.099)
OKLCHoklch(57.28% 0.121 125)
XYZxyz(14.3782, 19.6126, 5.2182)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68842A #462A84
analogous
#84732A #68842A #3B842A
triadic
#68842A #2A6884 #842A68
tetradic
#68842A #2A8473 #462A84 #842A3B
square
#68842A #2A8473 #462A84 #842A3B
split-complementary
#68842A #2A3B84 #732A84
monochromatic
#1F270C #43561B #68842A #8DB239 #A9CB5D

Accessibility & contrast

On white

4.27
#68842A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#68842A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #68842A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68842A#FFFFFF#000000##000000
##68842A1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1E
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#6D7E72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #68842a;
/* rgb */ color: rgb(104, 132, 42);
/* oklch */ color: oklch(57.3% 0.121 125.0);
Tailwind
colors: {
  custom: {
    50: '#96a869',
    500: '#68842a',
    950: '#000000',
  },
}
SCSS
$custom: #68842a;
$custom-light: #96a869;
$custom-dark: #000000;
JSON
{
  "hex": "#68842a",
  "rgb": {
    "r": 104,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 78.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57278,
    "c": 0.12078,
    "h": 125
  },
  "luminance": 0.19613
}

Semantic roles & 50–950 ramp

primary
#68842A
secondary
#7459B1
accent
#4DDB79
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #68842A

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

Preview Lab → · Contrast checker → · Palette generator →

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