#627A25#627A25

#627A25 is a mid, moderate yellow-green. Relative luminance 0.166; OKLCH L 54.3% C 0.114 H 123.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#627A25
RGBrgb(98, 122, 37)
HSLhsl(77, 53%, 31%)
HSVhsv(77, 70%, 48%)
CMYKcmyk(19.7%, 0%, 69.7%, 52.2%)
CIE-LABlab(47.81, -21.95, 41.84)
CIE-LCHlch(47.81, 47.25, 117.68°)
OKLaboklab(54.26% -0.0634 0.0948)
OKLCHoklch(54.26% 0.114 123.8)
XYZxyz(12.3306, 16.6492, 4.3139)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627A25 #3D257A
analogous
#7A6725 #627A25 #377A25
triadic
#627A25 #25627A #7A2562
tetradic
#627A25 #257A67 #3D257A #7A2537
square
#627A25 #257A67 #3D257A #7A2537
split-complementary
#627A25 #25377A #67257A
monochromatic
#171C09 #3C4B17 #627A25 #88A933 #A7CA50

Accessibility & contrast

On white

4.85
#627A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#627A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627A25
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627A25#FFFFFF#000000##FFFFFF
##627A251.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817219
Deuteranopia (green-blind)
#7E712C
Tritanopia (blue-blind)
#677469
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #627a25;
/* rgb */ color: rgb(98, 122, 37);
/* oklch */ color: oklch(54.3% 0.114 123.8);
Tailwind
colors: {
  custom: {
    50: '#91a065',
    500: '#627a25',
    950: '#000000',
  },
}
SCSS
$custom: #627a25;
$custom-light: #91a065;
$custom-dark: #000000;
JSON
{
  "hex": "#627a25",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 76.941,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54263,
    "c": 0.11401,
    "h": 123.8
  },
  "luminance": 0.16649
}

Semantic roles & 50–950 ramp

primary
#627A25
secondary
#694EAC
accent
#4BDD74
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E06
muted
#7E7E7A

Preview Lab

Preview with #627A25

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

Preview Lab → · Contrast checker → · Palette generator →

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