#627B25#627B25

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

Color values

HEX#627B25
RGBrgb(98, 123, 37)
HSLhsl(77, 54%, 31%)
HSVhsv(77, 70%, 48%)
CMYKcmyk(20.3%, 0%, 69.9%, 51.8%)
CIE-LABlab(48.13, -22.46, 42.17)
CIE-LCHlch(48.13, 47.78, 118.04°)
OKLaboklab(54.52% -0.0648 0.0954)
OKLCHoklch(54.52% 0.115 124.2)
XYZxyz(12.4540, 16.8961, 4.3551)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627B25 #3E257B
analogous
#7B6925 #627B25 #377B25
triadic
#627B25 #25627B #7B2562
tetradic
#627B25 #257B69 #3E257B #7B2537
square
#627B25 #257B69 #3E257B #7B2537
split-complementary
#627B25 #25377B #69257B
monochromatic
#171D09 #3D4C17 #627B25 #87AA33 #A7CA50

Accessibility & contrast

On white

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

On black

4.38
#627B25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##627B25#FFFFFF#000000##FFFFFF
##627B251.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827319
Deuteranopia (green-blind)
#7F722C
Tritanopia (blue-blind)
#67756A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627b25;
/* rgb */ color: rgb(98, 123, 37);
/* oklch */ color: oklch(54.5% 0.115 124.2);
Tailwind
colors: {
  custom: {
    50: '#91a165',
    500: '#627b25',
    950: '#000000',
  },
}
SCSS
$custom: #627b25;
$custom-light: #91a165;
$custom-dark: #000000;
JSON
{
  "hex": "#627b25",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 77.442,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54517,
    "c": 0.11537,
    "h": 124.2
  },
  "luminance": 0.16896
}

Semantic roles & 50–950 ramp

primary
#627B25
secondary
#6A4FAD
accent
#4BDD75
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F06
muted
#7E7E7A

Preview Lab

Preview with #627B25

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

Preview Lab → · Contrast checker → · Palette generator →

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