#627B24#627B24

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

Color values

HEX#627B24
RGBrgb(98, 123, 36)
HSLhsl(77, 55%, 31%)
HSVhsv(77, 71%, 48%)
CMYKcmyk(20.3%, 0%, 70.7%, 51.8%)
CIE-LABlab(48.12, -22.53, 42.59)
CIE-LCHlch(48.12, 48.18, 117.88°)
OKLaboklab(54.51% -0.0651 0.0962)
OKLCHoklch(54.51% 0.116 124.1)
XYZxyz(12.4385, 16.8899, 4.2735)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627B24 #3D247B
analogous
#7B6824 #627B24 #367B24
triadic
#627B24 #24627B #7B2462
tetradic
#627B24 #247B68 #3D247B #7B2436
square
#627B24 #247B68 #3D247B #7B2436
split-complementary
#627B24 #24367B #68247B
monochromatic
#171C08 #3C4C16 #627B24 #88AA32 #A7CB4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627B24#FFFFFF#000000##FFFFFF
##627B241.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)
#827317
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#67756A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627b24;
/* rgb */ color: rgb(98, 123, 36);
/* oklch */ color: oklch(54.5% 0.116 124.1);
Tailwind
colors: {
  custom: {
    50: '#91a164',
    500: '#627b24',
    950: '#000000',
  },
}
SCSS
$custom: #627b24;
$custom-light: #91a164;
$custom-dark: #000000;
JSON
{
  "hex": "#627b24",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 36
  },
  "hsl": {
    "h": 77.241,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54508,
    "c": 0.11613,
    "h": 124.1
  },
  "luminance": 0.1689
}

Semantic roles & 50–950 ramp

primary
#627B24
secondary
#694DAD
accent
#4ADE74
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F06
muted
#7E7E7A

Preview Lab

Preview with #627B24

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

Preview Lab → · Contrast checker → · Palette generator →

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