#626F22#626F22

#626F22 is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.5% C 0.102 H 118.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#626F22
RGBrgb(98, 111, 34)
HSLhsl(70, 53%, 28%)
HSVhsv(70, 69%, 44%)
CMYKcmyk(11.7%, 0%, 69.4%, 56.5%)
CIE-LABlab(44.35, -16.39, 39.56)
CIE-LCHlch(44.35, 42.82, 112.50°)
OKLaboklab(51.46% -0.0483 0.0895)
OKLCHoklch(51.46% 0.102 118.4)
XYZxyz(11.0104, 14.0811, 3.6510)
Luminance0.1408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626F22 #2F226F
analogous
#6F5522 #626F22 #3B6F22
triadic
#626F22 #22626F #6F2262
tetradic
#626F22 #226F55 #2F226F #6F223B
square
#626F22 #226F55 #2F226F #6F223B
split-complementary
#626F22 #223B6F #55226F
monochromatic
#151707 #394014 #626F22 #8B9E30 #B0C645

Accessibility & contrast

On white

5.50
#626F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#626F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626F22
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626F22#FFFFFF#000000##FFFFFF
##626F221.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766917
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#68695F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #626f22;
/* rgb */ color: rgb(98, 111, 34);
/* oklch */ color: oklch(51.5% 0.102 118.4);
Tailwind
colors: {
  custom: {
    50: '#919862',
    500: '#626f22',
    950: '#000000',
  },
}
SCSS
$custom: #626f22;
$custom-light: #919862;
$custom-dark: #000000;
JSON
{
  "hex": "#626f22",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 70.13,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51462,
    "c": 0.10167,
    "h": 118.4
  },
  "luminance": 0.14081
}

Semantic roles & 50–950 ramp

primary
#626F22
secondary
#594AA2
accent
#4BDD64
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626F22

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

Preview Lab → · Contrast checker → · Palette generator →

#626F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva