#627B19#627B19

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

Color values

HEX#627B19
RGBrgb(98, 123, 25)
HSLhsl(75, 66%, 29%)
HSVhsv(75, 80%, 48%)
CMYKcmyk(20.3%, 0%, 79.7%, 51.8%)
CIE-LABlab(48.05, -23.20, 46.71)
CIE-LCHlch(48.05, 52.15, 116.41°)
OKLaboklab(54.43% -0.0679 0.103)
OKLCHoklch(54.43% 0.123 123.4)
XYZxyz(12.2956, 16.8327, 3.5208)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627B19 #32197B
analogous
#7B6319 #627B19 #317B19
triadic
#627B19 #19627B #7B1962
tetradic
#627B19 #197B63 #32197B #7B1931
square
#627B19 #197B63 #32197B #7B1931
split-complementary
#627B19 #19317B #63197B
monochromatic
#141905 #39480F #627B19 #8BAE23 #AED738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627B19#FFFFFF#000000##FFFFFF
##627B191.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)
#837301
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#677469
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627b19;
/* rgb */ color: rgb(98, 123, 25);
/* oklch */ color: oklch(54.4% 0.123 123.4);
Tailwind
colors: {
  custom: {
    50: '#92a15f',
    500: '#627b19',
    950: '#000000',
  },
}
SCSS
$custom: #627b19;
$custom-light: #92a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#627b19",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 75.306,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54426,
    "c": 0.12334,
    "h": 123.4
  },
  "luminance": 0.16833
}

Semantic roles & 50–950 ramp

primary
#627B19
secondary
#5D40AF
accent
#3FE96A
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #627B19

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

Preview Lab → · Contrast checker → · Palette generator →

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