#627B13#627B13

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

Color values

HEX#627B13
RGBrgb(98, 123, 19)
HSLhsl(74, 73%, 28%)
HSVhsv(74, 85%, 48%)
CMYKcmyk(20.3%, 0%, 84.6%, 51.8%)
CIE-LABlab(48.02, -23.47, 48.56)
CIE-LCHlch(48.02, 53.93, 115.79°)
OKLaboklab(54.39% -0.0691 0.1058)
OKLCHoklch(54.39% 0.126 123.2)
XYZxyz(12.2377, 16.8095, 3.2158)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627B13 #2C137B
analogous
#7B6013 #627B13 #2E7B13
triadic
#627B13 #13627B #7B1362
tetradic
#627B13 #137B60 #2C137B #7B132E
square
#627B13 #137B60 #2C137B #7B132E
split-complementary
#627B13 #132E7B #60137B
monochromatic
#151B04 #38460B #627B13 #8CB01B #B3DE2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627B13#FFFFFF#000000##FFFFFF
##627B131.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)
#7F721F
Tritanopia (blue-blind)
#677468
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627b13;
/* rgb */ color: rgb(98, 123, 19);
/* oklch */ color: oklch(54.4% 0.126 123.2);
Tailwind
colors: {
  custom: {
    50: '#92a15c',
    500: '#627b13',
    950: '#000000',
  },
}
SCSS
$custom: #627b13;
$custom-light: #92a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#627b13",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 19
  },
  "hsl": {
    "h": 74.423,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54393,
    "c": 0.12637,
    "h": 123.2
  },
  "luminance": 0.1681
}

Semantic roles & 50–950 ramp

primary
#627B13
secondary
#5639B1
accent
#38F064
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0F04
muted
#7E7E79

Preview Lab

Preview with #627B13

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

Preview Lab → · Contrast checker → · Palette generator →

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