#6A8F23#6A8F23

#6A8F23 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.1% C 0.139 H 127.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6A8F23
RGBrgb(106, 143, 35)
HSLhsl(81, 61%, 35%)
HSVhsv(81, 76%, 56%)
CMYKcmyk(25.9%, 0%, 75.5%, 43.9%)
CIE-LABlab(54.90, -29.11, 49.91)
CIE-LCHlch(54.90, 57.78, 120.26°)
OKLaboklab(60.13% -0.0837 0.1112)
OKLCHoklch(60.13% 0.139 127)
XYZxyz(16.0697, 22.8301, 5.1498)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8F23 #48238F
analogous
#8F7E23 #6A8F23 #348F23
triadic
#6A8F23 #236A8F #8F236A
tetradic
#6A8F23 #238F7E #48238F #8F2334
square
#6A8F23 #238F7E #48238F #8F2334
split-complementary
#6A8F23 #23348F #7E238F
monochromatic
#212D0B #465E17 #6A8F23 #8EC02F #AAD657

Accessibility & contrast

On white

3.77
#6A8F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#6A8F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8F23
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8F23#FFFFFF#000000##000000
##6A8F231.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850D
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#6E887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6a8f23;
/* rgb */ color: rgb(106, 143, 35);
/* oklch */ color: oklch(60.1% 0.139 127.0);
Tailwind
colors: {
  custom: {
    50: '#98b066',
    500: '#6a8f23',
    950: '#000000',
  },
}
SCSS
$custom: #6a8f23;
$custom-light: #98b066;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8f23",
  "rgb": {
    "r": 106,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 80.556,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60132,
    "c": 0.13919,
    "h": 127
  },
  "luminance": 0.2283
}

Semantic roles & 50–950 ramp

primary
#6A8F23
secondary
#7754BA
accent
#44E47B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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