#627B2C#627B2C

#627B2C is a mid, moderate yellow-green. Relative luminance 0.169; OKLCH L 54.6% C 0.110 H 124.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#627B2C
RGBrgb(98, 123, 44)
HSLhsl(79, 47%, 33%)
HSVhsv(79, 64%, 48%)
CMYKcmyk(20.3%, 0%, 64.2%, 51.8%)
CIE-LABlab(48.19, -21.91, 39.10)
CIE-LCHlch(48.19, 44.82, 119.26°)
OKLaboklab(54.59% -0.0626 0.09)
OKLCHoklch(54.59% 0.11 124.8)
XYZxyz(12.5746, 16.9443, 4.9905)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627B2C #452C7B
analogous
#7B6C2C #627B2C #3B7B2C
triadic
#627B2C #2C627B #7B2C62
tetradic
#627B2C #2C7B6C #452C7B #7B2C3B
square
#627B2C #2C7B6C #452C7B #7B2C3B
split-complementary
#627B2C #2C3B7B #6C2C7B
monochromatic
#1A210C #3E4E1C #627B2C #86A83C #A4C55D

Accessibility & contrast

On white

4.78
#627B2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#627B2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627B2C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627B2C#FFFFFF#000000##FFFFFF
##627B2C1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827323
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#66756A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627b2c;
/* rgb */ color: rgb(98, 123, 44);
/* oklch */ color: oklch(54.6% 0.110 124.8);
Tailwind
colors: {
  custom: {
    50: '#91a169',
    500: '#627b2c',
    950: '#000000',
  },
}
SCSS
$custom: #627b2c;
$custom-light: #91a169;
$custom-dark: #000000;
JSON
{
  "hex": "#627b2c",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 78.987,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54586,
    "c": 0.1096,
    "h": 124.8
  },
  "luminance": 0.16944
}

Semantic roles & 50–950 ramp

primary
#627B2C
secondary
#7258AB
accent
#51D77B
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F06
muted
#7E7E7A

Preview Lab

Preview with #627B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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