#626218#626218

#626218 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.1% C 0.093 H 109.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#626218
RGBrgb(98, 98, 24)
HSLhsl(60, 61%, 24%)
HSVhsv(60, 76%, 38%)
CMYKcmyk(0%, 0%, 75.5%, 61.6%)
CIE-LABlab(40.24, -9.82, 39.68)
CIE-LCHlch(40.24, 40.87, 103.90°)
OKLaboklab(48.15% -0.031 0.0879)
OKLCHoklch(48.15% 0.093 109.4)
XYZxyz(9.5699, 11.3983, 2.5600)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626218 #181862
analogous
#623D18 #626218 #3D6218
triadic
#626218 #186262 #621862
tetradic
#626218 #18623D #181862 #62183D
square
#626218 #18623D #181862 #62183D
split-complementary
#626218 #183D62 #3D1862
monochromatic
#191906 #31310C #626218 #939324 #C4C430

Accessibility & contrast

On white

6.40
#626218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#626218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626218
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626218#FFFFFF#000000##FFFFFF
##6262181.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E0B
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#695B54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #626218;
/* rgb */ color: rgb(98, 98, 24);
/* oklch */ color: oklch(48.1% 0.093 109.4);
Tailwind
colors: {
  custom: {
    50: '#918e5b',
    500: '#626218',
    950: '#000000',
  },
}
SCSS
$custom: #626218;
$custom-light: #918e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#626218",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48148,
    "c": 0.09324,
    "h": 109.4
  },
  "luminance": 0.11398
}

Semantic roles & 50–950 ramp

primary
#626218
secondary
#3E3E98
accent
#44E444
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626218

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

Preview Lab → · Contrast checker → · Palette generator →

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