#628D3D#628D3D

#628D3D is a mid, moderate yellow-green. Relative luminance 0.220; OKLCH L 59.4% C 0.120 H 132.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#628D3D
RGBrgb(98, 141, 61)
HSLhsl(92, 40%, 40%)
HSVhsv(92, 57%, 55%)
CMYKcmyk(30.5%, 0%, 56.7%, 44.7%)
CIE-LABlab(54.01, -29.16, 37.48)
CIE-LCHlch(54.01, 47.49, 127.88°)
OKLaboklab(59.36% -0.0811 0.0884)
OKLCHoklch(59.36% 0.12 132.5)
XYZxyz(15.4039, 21.9828, 7.8455)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D3D #683D8D
analogous
#8A8D3D #628D3D #3D8D40
triadic
#628D3D #3D628D #8D3D62
tetradic
#628D3D #3D8A8D #683D8D #8D403D
square
#628D3D #3D8A8D #683D8D #8D403D
split-complementary
#628D3D #403D8D #8D3D8A
monochromatic
#273818 #44622B #628D3D #80B453 #9FC77D

Accessibility & contrast

On white

3.89
#628D3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#628D3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D3D
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D3D#FFFFFF#000000##000000
##628D3D1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928335
Deuteranopia (green-blind)
#8C8042
Tritanopia (blue-blind)
#63887B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d3d;
/* rgb */ color: rgb(98, 141, 61);
/* oklch */ color: oklch(59.4% 0.120 132.5);
Tailwind
colors: {
  custom: {
    50: '#91ae75',
    500: '#628d3d',
    950: '#000000',
  },
}
SCSS
$custom: #628d3d;
$custom-light: #91ae75;
$custom-dark: #000000;
JSON
{
  "hex": "#628d3d",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 61
  },
  "hsl": {
    "h": 92.25,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.59355,
    "c": 0.11998,
    "h": 132.5
  },
  "luminance": 0.21983
}

Semantic roles & 50–950 ramp

primary
#628D3D
secondary
#9575B1
accent
#58CF98
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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