#628F1B#628F1B

#628F1B is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.6% C 0.148 H 129.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#628F1B
RGBrgb(98, 143, 27)
HSLhsl(83, 68%, 33%)
HSVhsv(83, 81%, 56%)
CMYKcmyk(31.5%, 0%, 81.1%, 43.9%)
CIE-LABlab(54.37, -32.75, 51.91)
CIE-LCHlch(54.37, 61.38, 122.25°)
OKLaboklab(59.56% -0.0937 0.1143)
OKLCHoklch(59.56% 0.148 129.4)
XYZxyz(15.0573, 22.3203, 4.5516)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F1B #481B8F
analogous
#8F821B #628F1B #288F1B
triadic
#628F1B #1B628F #8F1B62
tetradic
#628F1B #1B8F82 #481B8F #8F1B28
square
#628F1B #1B8F82 #481B8F #8F1B28
split-complementary
#628F1B #1B288F #821B8F
monochromatic
#1B2808 #3F5C11 #628F1B #85C225 #A3DC48

Accessibility & contrast

On white

3.84
#628F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#628F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F1B
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F1B#FFFFFF#000000##000000
##628F1B1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#65887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628f1b;
/* rgb */ color: rgb(98, 143, 27);
/* oklch */ color: oklch(59.6% 0.148 129.4);
Tailwind
colors: {
  custom: {
    50: '#93b062',
    500: '#628f1b',
    950: '#000000',
  },
}
SCSS
$custom: #628f1b;
$custom-light: #93b062;
$custom-dark: #000000;
JSON
{
  "hex": "#628f1b",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 83.276,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59557,
    "c": 0.14778,
    "h": 129.4
  },
  "luminance": 0.22321
}

Semantic roles & 50–950 ramp

primary
#628F1B
secondary
#7648BE
accent
#3DEB80
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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