#6B9028#6B9028

#6B9028 is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.5% C 0.137 H 127.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#6B9028
RGBrgb(107, 144, 40)
HSLhsl(81, 57%, 36%)
HSVhsv(81, 72%, 56%)
CMYKcmyk(25.7%, 0%, 72.2%, 43.5%)
CIE-LABlab(55.30, -28.87, 48.45)
CIE-LCHlch(55.30, 56.40, 120.79°)
OKLaboklab(60.49% -0.0827 0.1089)
OKLCHoklch(60.49% 0.137 127.2)
XYZxyz(16.4197, 23.2252, 5.6249)
Luminance0.2323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9028 #4D2890
analogous
#908128 #6B9028 #379028
triadic
#6B9028 #286B90 #90286B
tetradic
#6B9028 #289081 #4D2890 #902837
square
#6B9028 #289081 #4D2890 #902837
split-complementary
#6B9028 #283790 #812890
monochromatic
#24300D #47601B #6B9028 #8FC035 #AAD360

Accessibility & contrast

On white

3.72
#6B9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#6B9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9028
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9028#FFFFFF#000000##000000
##6B90281.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978617
Deuteranopia (green-blind)
#928431
Tritanopia (blue-blind)
#6F897C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6b9028;
/* rgb */ color: rgb(107, 144, 40);
/* oklch */ color: oklch(60.5% 0.137 127.2);
Tailwind
colors: {
  custom: {
    50: '#99b069',
    500: '#6b9028',
    950: '#000000',
  },
}
SCSS
$custom: #6b9028;
$custom-light: #99b069;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9028",
  "rgb": {
    "r": 107,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 81.346,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60488,
    "c": 0.13676,
    "h": 127.2
  },
  "luminance": 0.23226
}

Semantic roles & 50–950 ramp

primary
#6B9028
secondary
#7D5CB8
accent
#48E07E
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6B9028

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

Preview Lab → · Contrast checker → · Palette generator →

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