#688228#688228

#688228 is a mid, moderate yellow-green. Relative luminance 0.191; OKLCH L 56.8% C 0.120 H 124.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#688228
RGBrgb(104, 130, 40)
HSLhsl(77, 53%, 33%)
HSVhsv(77, 69%, 51%)
CMYKcmyk(20%, 0%, 69.2%, 49%)
CIE-LABlab(50.76, -23.23, 43.75)
CIE-LCHlch(50.76, 49.53, 117.97°)
OKLaboklab(56.76% -0.067 0.0991)
OKLCHoklch(56.76% 0.12 124.1)
XYZxyz(14.0747, 19.0614, 4.9448)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688228 #422882
analogous
#826F28 #688228 #3B8228
triadic
#688228 #286882 #822868
tetradic
#688228 #28826F #422882 #82283B
square
#688228 #28826F #422882 #82283B
split-complementary
#688228 #283B82 #6F2882
monochromatic
#1D240B #43531A #688228 #8DB136 #ABCC59

Accessibility & contrast

On white

4.36
#688228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#688228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688228
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688228#FFFFFF#000000##000000
##6882281.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1B
Deuteranopia (green-blind)
#86792F
Tritanopia (blue-blind)
#6D7C70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #688228;
/* rgb */ color: rgb(104, 130, 40);
/* oklch */ color: oklch(56.8% 0.120 124.1);
Tailwind
colors: {
  custom: {
    50: '#96a667',
    500: '#688228',
    950: '#000000',
  },
}
SCSS
$custom: #688228;
$custom-light: #96a667;
$custom-dark: #000000;
JSON
{
  "hex": "#688228",
  "rgb": {
    "r": 104,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 77.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56758,
    "c": 0.11963,
    "h": 124.1
  },
  "luminance": 0.19062
}

Semantic roles & 50–950 ramp

primary
#688228
secondary
#6F55B1
accent
#4BDC75
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #688228

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

Preview Lab → · Contrast checker → · Palette generator →

#688228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva