#6D9823#6D9823

#6D9823 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.6% C 0.149 H 128.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6D9823
RGBrgb(109, 152, 35)
HSLhsl(82, 63%, 37%)
HSVhsv(82, 77%, 60%)
CMYKcmyk(28.3%, 0%, 77%, 40.4%)
CIE-LABlab(57.87, -32.15, 52.84)
CIE-LCHlch(57.87, 61.85, 121.32°)
OKLaboklab(62.6% -0.0922 0.1172)
OKLCHoklch(62.6% 0.149 128.2)
XYZxyz(17.8383, 25.8286, 5.6354)
Luminance0.2583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D9823 #4E2398
analogous
#988923 #6D9823 #339823
triadic
#6D9823 #236D98 #98236D
tetradic
#6D9823 #239889 #4E2398 #982333
square
#6D9823 #239889 #4E2398 #982333
split-complementary
#6D9823 #233398 #892398
monochromatic
#26350C #496618 #6D9823 #91CA2E #ABD95C

Accessibility & contrast

On white

3.41
#6D9823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#6D9823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D9823
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D9823#FFFFFF#000000##000000
##6D98231.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D07
Deuteranopia (green-blind)
#9A8A2F
Tritanopia (blue-blind)
#719182
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6d9823;
/* rgb */ color: rgb(109, 152, 35);
/* oklch */ color: oklch(62.6% 0.149 128.2);
Tailwind
colors: {
  custom: {
    50: '#9bb667',
    500: '#6d9823',
    950: '#000000',
  },
}
SCSS
$custom: #6d9823;
$custom-light: #9bb667;
$custom-dark: #000000;
JSON
{
  "hex": "#6d9823",
  "rgb": {
    "r": 109,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 82.051,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62598,
    "c": 0.14916,
    "h": 128.2
  },
  "luminance": 0.25829
}

Semantic roles & 50–950 ramp

primary
#6D9823
secondary
#7E59BE
accent
#42E67E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6D9823

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

Preview Lab → · Contrast checker → · Palette generator →

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