#626B2D#626B2D

#626B2D is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.6% C 0.086 H 116.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#626B2D
RGBrgb(98, 107, 45)
HSLhsl(69, 41%, 30%)
HSVhsv(69, 58%, 42%)
CMYKcmyk(8.4%, 0%, 57.9%, 58%)
CIE-LABlab(43.21, -13.29, 33.04)
CIE-LCHlch(43.21, 35.61, 111.92°)
OKLaboklab(50.59% -0.0384 0.0772)
OKLCHoklch(50.59% 0.086 116.5)
XYZxyz(10.7685, 13.3016, 4.4823)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626B2D #362D6B
analogous
#6B552D #626B2D #436B2D
triadic
#626B2D #2D626B #6B2D62
tetradic
#626B2D #2D6B55 #362D6B #6B2D43
square
#626B2D #2D6B55 #362D6B #6B2D43
split-complementary
#626B2D #2D436B #552D6B
monochromatic
#141609 #3B401B #626B2D #89963F #ABB959

Accessibility & contrast

On white

5.74
#626B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#626B2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626B2D
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626B2D#FFFFFF#000000##FFFFFF
##626B2D1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726627
Deuteranopia (green-blind)
#716731
Tritanopia (blue-blind)
#68655D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #626b2d;
/* rgb */ color: rgb(98, 107, 45);
/* oklch */ color: oklch(50.6% 0.086 116.5);
Tailwind
colors: {
  custom: {
    50: '#909568',
    500: '#626b2d',
    950: '#000000',
  },
}
SCSS
$custom: #626b2d;
$custom-light: #909568;
$custom-dark: #000000;
JSON
{
  "hex": "#626b2d",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 45
  },
  "hsl": {
    "h": 68.71,
    "s": 40.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50587,
    "c": 0.0862,
    "h": 116.5
  },
  "luminance": 0.13302
}

Semantic roles & 50–950 ramp

primary
#626B2D
secondary
#61579D
accent
#57D169
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #626B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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