#627F35#627F35

#627F35 is a mid, moderate yellow-green. Relative luminance 0.180; OKLCH L 55.7% C 0.107 H 127.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#627F35
RGBrgb(98, 127, 53)
HSLhsl(84, 41%, 35%)
HSVhsv(84, 58%, 50%)
CMYKcmyk(22.8%, 0%, 58.3%, 50.2%)
CIE-LABlab(49.54, -23.10, 36.26)
CIE-LCHlch(49.54, 42.99, 122.50°)
OKLaboklab(55.7% -0.065 0.085)
OKLCHoklch(55.7% 0.107 127.4)
XYZxyz(13.2689, 18.0322, 6.1490)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F35 #52357F
analogous
#7F7735 #627F35 #3D7F35
triadic
#627F35 #35627F #7F3562
tetradic
#627F35 #357F77 #52357F #7F353D
square
#627F35 #357F77 #52357F #7F353D
split-complementary
#627F35 #353D7F #77357F
monochromatic
#1F2911 #415423 #627F35 #83AA47 #A0C26D

Accessibility & contrast

On white

4.56
#627F35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#627F35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627F35
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627F35#FFFFFF#000000##000000
##627F351.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85772D
Deuteranopia (green-blind)
#81753A
Tritanopia (blue-blind)
#657A6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #627f35;
/* rgb */ color: rgb(98, 127, 53);
/* oklch */ color: oklch(55.7% 0.107 127.4);
Tailwind
colors: {
  custom: {
    50: '#91a46f',
    500: '#627f35',
    950: '#000000',
  },
}
SCSS
$custom: #627f35;
$custom-light: #91a46f;
$custom-dark: #000000;
JSON
{
  "hex": "#627f35",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 53
  },
  "hsl": {
    "h": 83.514,
    "s": 41.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55702,
    "c": 0.10702,
    "h": 127.4
  },
  "luminance": 0.18032
}

Semantic roles & 50–950 ramp

primary
#627F35
secondary
#8066AA
accent
#57D187
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #627F35

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

Preview Lab → · Contrast checker → · Palette generator →

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