#627B18#627B18

#627B18 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.4% C 0.124 H 123.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#627B18
RGBrgb(98, 123, 24)
HSLhsl(75, 67%, 29%)
HSVhsv(75, 80%, 48%)
CMYKcmyk(20.3%, 0%, 80.5%, 51.8%)
CIE-LABlab(48.04, -23.25, 47.04)
CIE-LCHlch(48.04, 52.47, 116.30°)
OKLaboklab(54.42% -0.0681 0.1035)
OKLCHoklch(54.42% 0.124 123.4)
XYZxyz(12.2850, 16.8285, 3.4650)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627B18 #31187B
analogous
#7B6318 #627B18 #307B18
triadic
#627B18 #18627B #7B1862
tetradic
#627B18 #187B63 #31187B #7B1830
square
#627B18 #187B63 #31187B #7B1830
split-complementary
#627B18 #18307B #63187B
monochromatic
#141A05 #39480E #627B18 #8BAE22 #AFD836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627B18#FFFFFF#000000##FFFFFF
##627B181.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)
#837300
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#677469
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627b18;
/* rgb */ color: rgb(98, 123, 24);
/* oklch */ color: oklch(54.4% 0.124 123.4);
Tailwind
colors: {
  custom: {
    50: '#92a15e',
    500: '#627b18',
    950: '#000000',
  },
}
SCSS
$custom: #627b18;
$custom-light: #92a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#627b18",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 75.152,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5442,
    "c": 0.12389,
    "h": 123.4
  },
  "luminance": 0.16829
}

Semantic roles & 50–950 ramp

primary
#627B18
secondary
#5C3FB0
accent
#3EEA69
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #627B18

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

Preview Lab → · Contrast checker → · Palette generator →

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