#627E13#627E13

#627E13 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.2% C 0.130 H 124.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#627E13
RGBrgb(98, 126, 19)
HSLhsl(76, 74%, 28%)
HSVhsv(76, 85%, 49%)
CMYKcmyk(22.2%, 0%, 84.9%, 50.6%)
CIE-LABlab(48.96, -24.97, 49.39)
CIE-LCHlch(48.96, 55.34, 116.82°)
OKLaboklab(55.16% -0.0732 0.1076)
OKLCHoklch(55.16% 0.13 124.2)
XYZxyz(12.6156, 17.5653, 3.3418)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E13 #2F137E
analogous
#7E6413 #627E13 #2C7E13
triadic
#627E13 #13627E #7E1362
tetradic
#627E13 #137E64 #2F137E #7E132C
square
#627E13 #137E64 #2F137E #7E132C
split-complementary
#627E13 #132C7E #64137E
monochromatic
#151B04 #39490B #627E13 #8BB31B #B0DF2C

Accessibility & contrast

On white

4.65
#627E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#627E13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627E13
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E13#FFFFFF#000000##FFFFFF
##627E131.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#67776B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627e13;
/* rgb */ color: rgb(98, 126, 19);
/* oklch */ color: oklch(55.2% 0.130 124.2);
Tailwind
colors: {
  custom: {
    50: '#92a35d',
    500: '#627e13',
    950: '#000000',
  },
}
SCSS
$custom: #627e13;
$custom-light: #92a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#627e13",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 75.701,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55158,
    "c": 0.13012,
    "h": 124.2
  },
  "luminance": 0.17565
}

Semantic roles & 50–950 ramp

primary
#627E13
secondary
#5939B4
accent
#37F068
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627E13

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

Preview Lab → · Contrast checker → · Palette generator →

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