#626C17#626C17

#626C17 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.6% C 0.106 H 116.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#626C17
RGBrgb(98, 108, 23)
HSLhsl(67, 65%, 26%)
HSVhsv(67, 79%, 42%)
CMYKcmyk(9.3%, 0%, 78.7%, 57.6%)
CIE-LABlab(43.34, -15.43, 43.01)
CIE-LCHlch(43.34, 45.69, 109.74°)
OKLaboklab(50.62% -0.0467 0.0948)
OKLCHoklch(50.62% 0.106 116.3)
XYZxyz(10.5545, 13.3838, 2.8378)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626C17 #21176C
analogous
#6C4B17 #626C17 #376C17
triadic
#626C17 #17626C #6C1762
tetradic
#626C17 #176C4B #21176C #6C1737
square
#626C17 #176C4B #21176C #6C1737
split-complementary
#626C17 #17376C #4B176C
monochromatic
#171905 #343A0C #626C17 #909E22 #BED12C

Accessibility & contrast

On white

5.71
#626C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#626C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626C17
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626C17#FFFFFF#000000##FFFFFF
##626C171.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#69655C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #626c17;
/* rgb */ color: rgb(98, 108, 23);
/* oklch */ color: oklch(50.6% 0.106 116.3);
Tailwind
colors: {
  custom: {
    50: '#91965c',
    500: '#626c17',
    950: '#000000',
  },
}
SCSS
$custom: #626c17;
$custom-light: #91965c;
$custom-dark: #000000;
JSON
{
  "hex": "#626c17",
  "rgb": {
    "r": 98,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 67.059,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50624,
    "c": 0.10566,
    "h": 116.3
  },
  "luminance": 0.13384
}

Semantic roles & 50–950 ramp

primary
#626C17
secondary
#493DA2
accent
#40E854
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626C17

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

Preview Lab → · Contrast checker → · Palette generator →

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