#627B15#627B15

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

Color values

HEX#627B15
RGBrgb(98, 123, 21)
HSLhsl(75, 71%, 28%)
HSVhsv(75, 83%, 48%)
CMYKcmyk(20.3%, 0%, 82.9%, 51.8%)
CIE-LABlab(48.03, -23.38, 47.98)
CIE-LCHlch(48.03, 53.37, 115.98°)
OKLaboklab(54.4% -0.0687 0.1049)
OKLCHoklch(54.4% 0.125 123.2)
XYZxyz(12.2555, 16.8167, 3.3096)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627B15 #2E157B
analogous
#7B6115 #627B15 #2F7B15
triadic
#627B15 #15627B #7B1562
tetradic
#627B15 #157B61 #2E157B #7B152F
square
#627B15 #157B61 #2E157B #7B152F
split-complementary
#627B15 #152F7B #61157B
monochromatic
#151A04 #38470C #627B15 #8CAF1E #B1DB2F

Accessibility & contrast

On white

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

On black

4.36
#627B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##627B15#FFFFFF#000000##FFFFFF
##627B151.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#677468
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627b15;
/* rgb */ color: rgb(98, 123, 21);
/* oklch */ color: oklch(54.4% 0.125 123.2);
Tailwind
colors: {
  custom: {
    50: '#92a15d',
    500: '#627b15',
    950: '#000000',
  },
}
SCSS
$custom: #627b15;
$custom-light: #92a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#627b15",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 74.706,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54403,
    "c": 0.12543,
    "h": 123.2
  },
  "luminance": 0.16817
}

Semantic roles & 50–950 ramp

primary
#627B15
secondary
#583BB0
accent
#3AEE66
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #627B15

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

Preview Lab → · Contrast checker → · Palette generator →

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