#626E17#626E17

#626E17 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.1% C 0.108 H 117.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#626E17
RGBrgb(98, 110, 23)
HSLhsl(68, 65%, 26%)
HSVhsv(68, 79%, 43%)
CMYKcmyk(10.9%, 0%, 79.1%, 56.9%)
CIE-LABlab(43.96, -16.51, 43.59)
CIE-LCHlch(43.96, 46.61, 110.75°)
OKLaboklab(51.13% -0.0497 0.096)
OKLCHoklch(51.13% 0.108 117.4)
XYZxyz(10.7679, 13.8105, 2.9089)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626E17 #23176E
analogous
#6E4E17 #626E17 #366E17
triadic
#626E17 #17626E #6E1762
tetradic
#626E17 #176E4E #23176E #6E1736
square
#626E17 #176E4E #23176E #6E1736
split-complementary
#626E17 #17366E #4E176E
monochromatic
#171905 #353B0C #626E17 #8FA122 #BCD32C

Accessibility & contrast

On white

5.58
#626E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#626E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626E17
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626E17#FFFFFF#000000##FFFFFF
##626E171.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766803
Deuteranopia (green-blind)
#75681F
Tritanopia (blue-blind)
#69675E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #626e17;
/* rgb */ color: rgb(98, 110, 23);
/* oklch */ color: oklch(51.1% 0.108 117.4);
Tailwind
colors: {
  custom: {
    50: '#91975c',
    500: '#626e17',
    950: '#000000',
  },
}
SCSS
$custom: #626e17;
$custom-light: #91975c;
$custom-dark: #000000;
JSON
{
  "hex": "#626e17",
  "rgb": {
    "r": 98,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 68.276,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51125,
    "c": 0.10811,
    "h": 117.4
  },
  "luminance": 0.1381
}

Semantic roles & 50–950 ramp

primary
#626E17
secondary
#4B3DA4
accent
#3FE857
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626E17

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

Preview Lab → · Contrast checker → · Palette generator →

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