#6B8923#6B8923

#6B8923 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.7% C 0.131 H 124.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6B8923
RGBrgb(107, 137, 35)
HSLhsl(78, 59%, 34%)
HSVhsv(78, 74%, 54%)
CMYKcmyk(21.9%, 0%, 74.5%, 46.3%)
CIE-LABlab(53.10, -25.78, 48.18)
CIE-LCHlch(53.10, 54.64, 118.15°)
OKLaboklab(58.69% -0.0747 0.1075)
OKLCHoklch(58.69% 0.131 124.8)
XYZxyz(15.3126, 21.1383, 4.8632)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8923 #412389
analogous
#897423 #6B8923 #388923
triadic
#6B8923 #236B89 #89236B
tetradic
#6B8923 #238974 #412389 #892338
square
#6B8923 #238974 #412389 #892338
split-complementary
#6B8923 #233889 #742389
monochromatic
#1F280A #455817 #6B8923 #91BA2F #AED353

Accessibility & contrast

On white

4.02
#6B8923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#6B8923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8923
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8923#FFFFFF#000000##000000
##6B89231.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918010
Deuteranopia (green-blind)
#8D7E2C
Tritanopia (blue-blind)
#708275
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6b8923;
/* rgb */ color: rgb(107, 137, 35);
/* oklch */ color: oklch(58.7% 0.131 124.8);
Tailwind
colors: {
  custom: {
    50: '#98ab65',
    500: '#6b8923',
    950: '#000000',
  },
}
SCSS
$custom: #6b8923;
$custom-light: #98ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8923",
  "rgb": {
    "r": 107,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 77.647,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58693,
    "c": 0.13092,
    "h": 124.8
  },
  "luminance": 0.21138
}

Semantic roles & 50–950 ramp

primary
#6B8923
secondary
#6F51B7
accent
#45E274
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8923

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

Preview Lab → · Contrast checker → · Palette generator →

#6B8923 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva