#627B1D#627B1D

#627B1D is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.5% C 0.121 H 123.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#627B1D
RGBrgb(98, 123, 29)
HSLhsl(76, 62%, 30%)
HSVhsv(76, 76%, 48%)
CMYKcmyk(20.3%, 0%, 76.4%, 51.8%)
CIE-LABlab(48.07, -22.98, 45.31)
CIE-LCHlch(48.07, 50.81, 116.89°)
OKLaboklab(54.45% -0.067 0.1007)
OKLCHoklch(54.45% 0.121 123.6)
XYZxyz(12.3419, 16.8512, 3.7646)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627B1D #361D7B
analogous
#7B651D #627B1D #337B1D
triadic
#627B1D #1D627B #7B1D62
tetradic
#627B1D #1D7B65 #361D7B #7B1D33
square
#627B1D #1D7B65 #361D7B #7B1D33
split-complementary
#627B1D #1D337B #651D7B
monochromatic
#141906 #3B4911 #627B1D #89AD29 #ABD240

Accessibility & contrast

On white

4.81
#627B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#627B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627B1D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627B1D#FFFFFF#000000##FFFFFF
##627B1D1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730A
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#677569
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627b1d;
/* rgb */ color: rgb(98, 123, 29);
/* oklch */ color: oklch(54.5% 0.121 123.6);
Tailwind
colors: {
  custom: {
    50: '#92a161',
    500: '#627b1d',
    950: '#000000',
  },
}
SCSS
$custom: #627b1d;
$custom-light: #92a161;
$custom-dark: #000000;
JSON
{
  "hex": "#627b1d",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 75.957,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54453,
    "c": 0.12096,
    "h": 123.6
  },
  "luminance": 0.16851
}

Semantic roles & 50–950 ramp

primary
#627B1D
secondary
#6145AF
accent
#43E56E
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #627B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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