#626D22#626D22

#626D22 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.0% C 0.099 H 117.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#626D22
RGBrgb(98, 109, 34)
HSLhsl(69, 52%, 28%)
HSVhsv(69, 69%, 43%)
CMYKcmyk(10.1%, 0%, 68.8%, 57.3%)
CIE-LABlab(43.73, -15.30, 38.91)
CIE-LCHlch(43.73, 41.81, 111.47°)
OKLaboklab(50.96% -0.0453 0.0881)
OKLCHoklch(50.96% 0.099 117.2)
XYZxyz(10.7946, 13.6496, 3.5790)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626D22 #2D226D
analogous
#6D5222 #626D22 #3C6D22
triadic
#626D22 #22626D #6D2262
tetradic
#626D22 #226D52 #2D226D #6D223C
square
#626D22 #226D52 #2D226D #6D223C
split-complementary
#626D22 #223C6D #52226D
monochromatic
#151707 #383E13 #626D22 #8C9C31 #B2C545

Accessibility & contrast

On white

5.63
#626D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#626D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626D22
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626D22#FFFFFF#000000##FFFFFF
##626D221.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756718
Deuteranopia (green-blind)
#736827
Tritanopia (blue-blind)
#68675E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #626d22;
/* rgb */ color: rgb(98, 109, 34);
/* oklch */ color: oklch(51.0% 0.099 117.2);
Tailwind
colors: {
  custom: {
    50: '#919662',
    500: '#626d22',
    950: '#000000',
  },
}
SCSS
$custom: #626d22;
$custom-light: #919662;
$custom-dark: #000000;
JSON
{
  "hex": "#626d22",
  "rgb": {
    "r": 98,
    "g": 109,
    "b": 34
  },
  "hsl": {
    "h": 68.8,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50962,
    "c": 0.09906,
    "h": 117.2
  },
  "luminance": 0.13649
}

Semantic roles & 50–950 ramp

primary
#626D22
secondary
#574AA1
accent
#4CDC61
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626D22

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

Preview Lab → · Contrast checker → · Palette generator →

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