#626B17#626B17

#626B17 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.4% C 0.104 H 115.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#626B17
RGBrgb(98, 107, 23)
HSLhsl(66, 65%, 25%)
HSVhsv(66, 79%, 42%)
CMYKcmyk(8.4%, 0%, 78.5%, 58%)
CIE-LABlab(43.02, -14.89, 42.71)
CIE-LCHlch(43.02, 45.23, 109.22°)
OKLaboklab(50.37% -0.0452 0.0941)
OKLCHoklch(50.37% 0.104 115.7)
XYZxyz(10.4496, 13.1741, 2.8028)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626B17 #20176B
analogous
#6B4A17 #626B17 #386B17
triadic
#626B17 #17626B #6B1762
tetradic
#626B17 #176B4A #20176B #6B1738
square
#626B17 #176B4A #20176B #6B1738
split-complementary
#626B17 #17386B #4A176B
monochromatic
#171905 #34390C #626B17 #909D22 #BED02D

Accessibility & contrast

On white

5.78
#626B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#626B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626B17
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626B17#FFFFFF#000000##FFFFFF
##626B171.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736505
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#69645B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #626b17;
/* rgb */ color: rgb(98, 107, 23);
/* oklch */ color: oklch(50.4% 0.104 115.7);
Tailwind
colors: {
  custom: {
    50: '#91955b',
    500: '#626b17',
    950: '#000000',
  },
}
SCSS
$custom: #626b17;
$custom-light: #91955b;
$custom-dark: #000000;
JSON
{
  "hex": "#626b17",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 66.429,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50373,
    "c": 0.10445,
    "h": 115.7
  },
  "luminance": 0.13174
}

Semantic roles & 50–950 ramp

primary
#626B17
secondary
#473DA1
accent
#40E852
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626B17

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

Preview Lab → · Contrast checker → · Palette generator →

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