#627B1E#627B1E

#627B1E is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.5% C 0.120 H 123.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#627B1E
RGBrgb(98, 123, 30)
HSLhsl(76, 61%, 30%)
HSVhsv(76, 76%, 48%)
CMYKcmyk(20.3%, 0%, 75.6%, 51.8%)
CIE-LABlab(48.08, -22.92, 44.94)
CIE-LCHlch(48.08, 50.45, 117.02°)
OKLaboklab(54.46% -0.0667 0.1001)
OKLCHoklch(54.46% 0.12 123.7)
XYZxyz(12.3544, 16.8562, 3.8308)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627B1E #371E7B
analogous
#7B651E #627B1E #347B1E
triadic
#627B1E #1E627B #7B1E62
tetradic
#627B1E #1E7B65 #371E7B #7B1E34
square
#627B1E #1E7B65 #371E7B #7B1E34
split-complementary
#627B1E #1E347B #651E7B
monochromatic
#141906 #3B4A12 #627B1E #89AC2A #ABD142

Accessibility & contrast

On white

4.80
#627B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#627B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627B1E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627B1E#FFFFFF#000000##FFFFFF
##627B1E1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730C
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#677569
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627b1e;
/* rgb */ color: rgb(98, 123, 30);
/* oklch */ color: oklch(54.5% 0.120 123.7);
Tailwind
colors: {
  custom: {
    50: '#92a161',
    500: '#627b1e',
    950: '#000000',
  },
}
SCSS
$custom: #627b1e;
$custom-light: #92a161;
$custom-dark: #000000;
JSON
{
  "hex": "#627b1e",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 76.129,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.5446,
    "c": 0.12032,
    "h": 123.7
  },
  "luminance": 0.16856
}

Semantic roles & 50–950 ramp

primary
#627B1E
secondary
#6246AE
accent
#44E46F
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #627B1E

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

Preview Lab → · Contrast checker → · Palette generator →

#627B1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva