#626D17#626D17

#626D17 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 50.9% C 0.107 H 116.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#626D17
RGBrgb(98, 109, 23)
HSLhsl(68, 65%, 26%)
HSVhsv(68, 79%, 43%)
CMYKcmyk(10.1%, 0%, 78.9%, 57.3%)
CIE-LABlab(43.65, -15.97, 43.30)
CIE-LCHlch(43.65, 46.15, 110.25°)
OKLaboklab(50.87% -0.0482 0.0954)
OKLCHoklch(50.87% 0.107 116.8)
XYZxyz(10.6606, 13.5959, 2.8731)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626D17 #22176D
analogous
#6D4D17 #626D17 #376D17
triadic
#626D17 #17626D #6D1762
tetradic
#626D17 #176D4D #22176D #6D1737
square
#626D17 #176D4D #22176D #6D1737
split-complementary
#626D17 #17376D #4D176D
monochromatic
#171905 #353A0C #626D17 #8FA022 #BDD22C

Accessibility & contrast

On white

5.65
#626D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#626D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626D17
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626D17#FFFFFF#000000##FFFFFF
##626D171.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756704
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#69665D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #626d17;
/* rgb */ color: rgb(98, 109, 23);
/* oklch */ color: oklch(50.9% 0.107 116.8);
Tailwind
colors: {
  custom: {
    50: '#91965c',
    500: '#626d17',
    950: '#000000',
  },
}
SCSS
$custom: #626d17;
$custom-light: #91965c;
$custom-dark: #000000;
JSON
{
  "hex": "#626d17",
  "rgb": {
    "r": 98,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 67.674,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50874,
    "c": 0.10689,
    "h": 116.8
  },
  "luminance": 0.13596
}

Semantic roles & 50–950 ramp

primary
#626D17
secondary
#4A3DA3
accent
#40E855
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626D17

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

Preview Lab → · Contrast checker → · Palette generator →

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