#627F23#627F23

#627F23 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.122 H 125.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#627F23
RGBrgb(98, 127, 35)
HSLhsl(79, 57%, 32%)
HSVhsv(79, 72%, 50%)
CMYKcmyk(22.8%, 0%, 72.4%, 50.2%)
CIE-LABlab(49.37, -24.62, 44.27)
CIE-LCHlch(49.37, 50.65, 119.08°)
OKLaboklab(55.52% -0.0709 0.0995)
OKLCHoklch(55.52% 0.122 125.5)
XYZxyz(12.9298, 17.8966, 4.3630)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F23 #40237F
analogous
#7F6E23 #627F23 #347F23
triadic
#627F23 #23627F #7F2362
tetradic
#627F23 #237F6E #40237F #7F2334
square
#627F23 #237F6E #40237F #7F2334
split-complementary
#627F23 #23347F #6E237F
monochromatic
#181F09 #3D4F16 #627F23 #87AF30 #A6CE4E

Accessibility & contrast

On white

4.59
#627F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#627F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627F23
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627F23#FFFFFF#000000##FFFFFF
##627F231.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867614
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#66796D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627f23;
/* rgb */ color: rgb(98, 127, 35);
/* oklch */ color: oklch(55.5% 0.122 125.5);
Tailwind
colors: {
  custom: {
    50: '#92a464',
    500: '#627f23',
    950: '#000000',
  },
}
SCSS
$custom: #627f23;
$custom-light: #92a464;
$custom-dark: #000000;
JSON
{
  "hex": "#627f23",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 78.913,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55516,
    "c": 0.12222,
    "h": 125.5
  },
  "luminance": 0.17897
}

Semantic roles & 50–950 ramp

primary
#627F23
secondary
#6C4CB1
accent
#48E078
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627F23

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

Preview Lab → · Contrast checker → · Palette generator →

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