#626B18#626B18

#626B18 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#626B18
RGBrgb(98, 107, 24)
HSLhsl(67, 63%, 26%)
HSVhsv(67, 78%, 42%)
CMYKcmyk(8.4%, 0%, 77.6%, 58%)
CIE-LABlab(43.03, -14.84, 42.35)
CIE-LCHlch(43.03, 44.87, 109.31°)
OKLaboklab(50.38% -0.045 0.0936)
OKLCHoklch(50.38% 0.104 115.7)
XYZxyz(10.4598, 13.1782, 2.8566)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626B18 #21186B
analogous
#6B4A18 #626B18 #386B18
triadic
#626B18 #18626B #6B1862
tetradic
#626B18 #186B4A #21186B #6B1838
square
#626B18 #186B4A #21186B #6B1838
split-complementary
#626B18 #18386B #4A186B
monochromatic
#171906 #34390D #626B18 #909D23 #BECF2E

Accessibility & contrast

On white

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

On black

3.64
#626B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##626B18#FFFFFF#000000##FFFFFF
##626B181.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #626b18;
/* rgb */ color: rgb(98, 107, 24);
/* oklch */ color: oklch(50.4% 0.104 115.7);
Tailwind
colors: {
  custom: {
    50: '#91955c',
    500: '#626b18',
    950: '#000000',
  },
}
SCSS
$custom: #626b18;
$custom-light: #91955c;
$custom-dark: #000000;
JSON
{
  "hex": "#626b18",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 66.506,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.5038,
    "c": 0.10382,
    "h": 115.7
  },
  "luminance": 0.13178
}

Semantic roles & 50–950 ramp

primary
#626B18
secondary
#493EA1
accent
#41E653
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626B18

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

Preview Lab → · Contrast checker → · Palette generator →

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