#626E22#626E22

#626E22 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.2% C 0.100 H 117.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#626E22
RGBrgb(98, 110, 34)
HSLhsl(69, 53%, 28%)
HSVhsv(69, 69%, 43%)
CMYKcmyk(10.9%, 0%, 69.1%, 56.9%)
CIE-LABlab(44.04, -15.85, 39.23)
CIE-LCHlch(44.04, 42.31, 111.99°)
OKLaboklab(51.21% -0.0468 0.0888)
OKLCHoklch(51.21% 0.1 117.8)
XYZxyz(10.9019, 13.8641, 3.6148)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626E22 #2E226E
analogous
#6E5422 #626E22 #3C6E22
triadic
#626E22 #22626E #6E2262
tetradic
#626E22 #226E54 #2E226E #6E223C
square
#626E22 #226E54 #2E226E #6E223C
split-complementary
#626E22 #223C6E #54226E
monochromatic
#151707 #383F14 #626E22 #8C9D30 #B1C545

Accessibility & contrast

On white

5.57
#626E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#626E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626E22
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626E22#FFFFFF#000000##FFFFFF
##626E221.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756818
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#68685F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #626e22;
/* rgb */ color: rgb(98, 110, 34);
/* oklch */ color: oklch(51.2% 0.100 117.8);
Tailwind
colors: {
  custom: {
    50: '#919762',
    500: '#626e22',
    950: '#000000',
  },
}
SCSS
$custom: #626e22;
$custom-light: #919762;
$custom-dark: #000000;
JSON
{
  "hex": "#626e22",
  "rgb": {
    "r": 98,
    "g": 110,
    "b": 34
  },
  "hsl": {
    "h": 69.474,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51212,
    "c": 0.10036,
    "h": 117.8
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#626E22
secondary
#584AA1
accent
#4CDC62
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626E22

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

Preview Lab → · Contrast checker → · Palette generator →

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