#628F2E#628F2E

#628F2E is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.7% C 0.136 H 130.9°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#628F2E
RGBrgb(98, 143, 46)
HSLhsl(88, 51%, 37%)
HSVhsv(88, 68%, 56%)
CMYKcmyk(31.5%, 0%, 67.8%, 43.9%)
CIE-LABlab(54.49, -31.53, 44.98)
CIE-LCHlch(54.49, 54.93, 125.03°)
OKLaboklab(59.7% -0.0889 0.1027)
OKLCHoklch(59.7% 0.136 130.9)
XYZxyz(15.3525, 22.4384, 6.1064)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F2E #5B2E8F
analogous
#8F8C2E #628F2E #328F2E
triadic
#628F2E #2E628F #8F2E62
tetradic
#628F2E #2E8F8C #5B2E8F #8F2E32
square
#628F2E #2E8F8C #5B2E8F #8F2E32
split-complementary
#628F2E #2E328F #8C2E8F
monochromatic
#233210 #42611F #628F2E #82BD3D #9FCF69

Accessibility & contrast

On white

3.83
#628F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#628F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F2E
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F2E#FFFFFF#000000##000000
##628F2E1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958521
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#64897B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628f2e;
/* rgb */ color: rgb(98, 143, 46);
/* oklch */ color: oklch(59.7% 0.136 130.9);
Tailwind
colors: {
  custom: {
    50: '#92b06c',
    500: '#628f2e',
    950: '#000000',
  },
}
SCSS
$custom: #628f2e;
$custom-light: #92b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#628f2e",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 87.835,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59698,
    "c": 0.13581,
    "h": 130.9
  },
  "luminance": 0.22439
}

Semantic roles & 50–950 ramp

primary
#628F2E
secondary
#8963B6
accent
#4DDB8F
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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