#628E1B#628E1B

#628E1B is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.3% C 0.147 H 129.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#628E1B
RGBrgb(98, 142, 27)
HSLhsl(83, 68%, 33%)
HSVhsv(83, 81%, 56%)
CMYKcmyk(31%, 0%, 81%, 44.3%)
CIE-LABlab(54.05, -32.29, 51.62)
CIE-LCHlch(54.05, 60.89, 122.03°)
OKLaboklab(59.3% -0.0925 0.1136)
OKLCHoklch(59.3% 0.147 129.1)
XYZxyz(14.9078, 22.0214, 4.5018)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E1B #471B8E
analogous
#8E801B #628E1B #288E1B
triadic
#628E1B #1B628E #8E1B62
tetradic
#628E1B #1B8E80 #471B8E #8E1B28
square
#628E1B #1B8E80 #471B8E #8E1B28
split-complementary
#628E1B #1B288E #801B8E
monochromatic
#1B2707 #3F5B11 #628E1B #85C125 #A3DC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628E1B#FFFFFF#000000##000000
##628E1B1.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)
#958300
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#658779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628e1b;
/* rgb */ color: rgb(98, 142, 27);
/* oklch */ color: oklch(59.3% 0.147 129.1);
Tailwind
colors: {
  custom: {
    50: '#93af62',
    500: '#628e1b',
    950: '#000000',
  },
}
SCSS
$custom: #628e1b;
$custom-light: #93af62;
$custom-dark: #000000;
JSON
{
  "hex": "#628e1b",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 82.957,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.593,
    "c": 0.14652,
    "h": 129.1
  },
  "luminance": 0.22022
}

Semantic roles & 50–950 ramp

primary
#628E1B
secondary
#7447BE
accent
#3DEB7F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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