#626F17#626F17

#626F17 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.4% C 0.109 H 117.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#626F17
RGBrgb(98, 111, 23)
HSLhsl(69, 66%, 26%)
HSVhsv(69, 79%, 44%)
CMYKcmyk(11.7%, 0%, 79.3%, 56.5%)
CIE-LABlab(44.27, -17.05, 43.88)
CIE-LCHlch(44.27, 47.08, 111.23°)
OKLaboklab(51.38% -0.0512 0.0966)
OKLCHoklch(51.38% 0.109 117.9)
XYZxyz(10.8764, 14.0275, 2.9451)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626F17 #24176F
analogous
#6F5017 #626F17 #366F17
triadic
#626F17 #17626F #6F1762
tetradic
#626F17 #176F50 #24176F #6F1736
square
#626F17 #176F50 #24176F #6F1736
split-complementary
#626F17 #17366F #50176F
monochromatic
#161905 #353C0C #626F17 #8FA222 #BBD32D

Accessibility & contrast

On white

5.52
#626F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#626F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626F17
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626F17#FFFFFF#000000##FFFFFF
##626F171.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776803
Deuteranopia (green-blind)
#76691F
Tritanopia (blue-blind)
#68685E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #626f17;
/* rgb */ color: rgb(98, 111, 23);
/* oklch */ color: oklch(51.4% 0.109 117.9);
Tailwind
colors: {
  custom: {
    50: '#92985c',
    500: '#626f17',
    950: '#000000',
  },
}
SCSS
$custom: #626f17;
$custom-light: #92985c;
$custom-dark: #000000;
JSON
{
  "hex": "#626f17",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 68.864,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51376,
    "c": 0.10935,
    "h": 117.9
  },
  "luminance": 0.14027
}

Semantic roles & 50–950 ramp

primary
#626F17
secondary
#4C3DA5
accent
#3FE958
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626F17

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

Preview Lab → · Contrast checker → · Palette generator →

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