#628121#628121

#628121 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 56.0% C 0.126 H 126.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#628121
RGBrgb(98, 129, 33)
HSLhsl(79, 59%, 32%)
HSVhsv(79, 74%, 51%)
CMYKcmyk(24%, 0%, 74.4%, 49.4%)
CIE-LABlab(49.99, -25.74, 45.67)
CIE-LCHlch(49.99, 52.43, 119.41°)
OKLaboklab(56.01% -0.0742 0.1022)
OKLCHoklch(56.01% 0.126 126)
XYZxyz(13.1618, 18.4068, 4.2980)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628121 #402181
analogous
#817021 #628121 #328121
triadic
#628121 #216281 #812162
tetradic
#628121 #218170 #402181 #812132
square
#628121 #218170 #402181 #812132
split-complementary
#628121 #213281 #702181
monochromatic
#182008 #3D5015 #628121 #87B22D #A6D14B

Accessibility & contrast

On white

4.49
#628121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#628121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628121
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628121#FFFFFF#000000##000000
##6281211.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780F
Deuteranopia (green-blind)
#84762A
Tritanopia (blue-blind)
#667B6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #628121;
/* rgb */ color: rgb(98, 129, 33);
/* oklch */ color: oklch(56.0% 0.126 126.0);
Tailwind
colors: {
  custom: {
    50: '#92a563',
    500: '#628121',
    950: '#000000',
  },
}
SCSS
$custom: #628121;
$custom-light: #92a563;
$custom-dark: #000000;
JSON
{
  "hex": "#628121",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 79.375,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5601,
    "c": 0.12625,
    "h": 126
  },
  "luminance": 0.18407
}

Semantic roles & 50–950 ramp

primary
#628121
secondary
#6C4AB4
accent
#45E278
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628121

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

Preview Lab → · Contrast checker → · Palette generator →

#628121 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva