#626118#626118

#626118 is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 47.9% C 0.092 H 108.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#626118
RGBrgb(98, 97, 24)
HSLhsl(59, 61%, 24%)
HSVhsv(59, 76%, 38%)
CMYKcmyk(0%, 1%, 75.5%, 61.6%)
CIE-LABlab(39.94, -9.25, 39.38)
CIE-LCHlch(39.94, 40.45, 103.22°)
OKLaboklab(47.9% -0.0294 0.0873)
OKLCHoklch(47.9% 0.092 108.6)
XYZxyz(9.4769, 11.2123, 2.5290)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626118 #181962
analogous
#623C18 #626118 #3E6218
triadic
#626118 #186261 #611862
tetradic
#626118 #18623C #181962 #62183E
square
#626118 #18623C #181962 #62183E
split-complementary
#626118 #183E62 #3C1862
monochromatic
#191806 #31300C #626118 #939224 #C4C230

Accessibility & contrast

On white

6.48
#626118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#626118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626118
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626118#FFFFFF#000000##FFFFFF
##6261181.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0B
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#695A53
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #626118;
/* rgb */ color: rgb(98, 97, 24);
/* oklch */ color: oklch(47.9% 0.092 108.6);
Tailwind
colors: {
  custom: {
    50: '#918d5b',
    500: '#626118',
    950: '#000000',
  },
}
SCSS
$custom: #626118;
$custom-light: #918d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#626118",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 24
  },
  "hsl": {
    "h": 59.189,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.47903,
    "c": 0.09212,
    "h": 108.6
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

primary
#626118
secondary
#3E3F98
accent
#46E444
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626118

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

Preview Lab → · Contrast checker → · Palette generator →

#626118 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva