#627E23#627E23

#627E23 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.3% C 0.121 H 125.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#627E23
RGBrgb(98, 126, 35)
HSLhsl(78, 57%, 32%)
HSVhsv(78, 72%, 49%)
CMYKcmyk(22.2%, 0%, 72.2%, 50.6%)
CIE-LABlab(49.06, -24.12, 43.95)
CIE-LCHlch(49.06, 50.13, 118.76°)
OKLaboklab(55.26% -0.0696 0.0989)
OKLCHoklch(55.26% 0.121 125.1)
XYZxyz(12.8013, 17.6396, 4.3201)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E23 #3F237E
analogous
#7E6D23 #627E23 #347E23
triadic
#627E23 #23627E #7E2362
tetradic
#627E23 #237E6D #3F237E #7E2334
square
#627E23 #237E6D #3F237E #7E2334
split-complementary
#627E23 #23347E #6D237E
monochromatic
#171E08 #3D4E16 #627E23 #87AE30 #A6CE4E

Accessibility & contrast

On white

4.64
#627E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#627E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627E23
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E23#FFFFFF#000000##FFFFFF
##627E231.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857614
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627e23;
/* rgb */ color: rgb(98, 126, 35);
/* oklch */ color: oklch(55.3% 0.121 125.1);
Tailwind
colors: {
  custom: {
    50: '#91a364',
    500: '#627e23',
    950: '#000000',
  },
}
SCSS
$custom: #627e23;
$custom-light: #91a364;
$custom-dark: #000000;
JSON
{
  "hex": "#627e23",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 78.462,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55262,
    "c": 0.12089,
    "h": 125.1
  },
  "luminance": 0.1764
}

Semantic roles & 50–950 ramp

primary
#627E23
secondary
#6B4CB0
accent
#48E077
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627E23

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

Preview Lab → · Contrast checker → · Palette generator →

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