#628F38#628F38

#628F38 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.8% C 0.128 H 132.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#628F38
RGBrgb(98, 143, 56)
HSLhsl(91, 44%, 39%)
HSVhsv(91, 61%, 56%)
CMYKcmyk(31.5%, 0%, 60.8%, 43.9%)
CIE-LABlab(54.58, -30.63, 40.56)
CIE-LCHlch(54.58, 50.83, 127.06°)
OKLaboklab(59.8% -0.0856 0.0946)
OKLCHoklch(59.8% 0.128 132.1)
XYZxyz(15.5731, 22.5266, 7.2682)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F38 #65388F
analogous
#8E8F38 #628F38 #388F39
triadic
#628F38 #38628F #8F3862
tetradic
#628F38 #388E8F #65388F #8F3938
square
#628F38 #388E8F #65388F #8F3938
split-complementary
#628F38 #39388F #8F388E
monochromatic
#263716 #446327 #628F38 #80B94B #9FCA77

Accessibility & contrast

On white

3.81
#628F38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#628F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F38
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F38#FFFFFF#000000##000000
##628F381.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852F
Deuteranopia (green-blind)
#8E813E
Tritanopia (blue-blind)
#63897C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #628f38;
/* rgb */ color: rgb(98, 143, 56);
/* oklch */ color: oklch(59.8% 0.128 132.1);
Tailwind
colors: {
  custom: {
    50: '#92b072',
    500: '#628f38',
    950: '#000000',
  },
}
SCSS
$custom: #628f38;
$custom-light: #92b072;
$custom-dark: #000000;
JSON
{
  "hex": "#628f38",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 56
  },
  "hsl": {
    "h": 91.034,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59802,
    "c": 0.12752,
    "h": 132.1
  },
  "luminance": 0.22527
}

Semantic roles & 50–950 ramp

primary
#628F38
secondary
#9370B3
accent
#54D396
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628F38

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

Preview Lab → · Contrast checker → · Palette generator →

#628F38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva