#626418#626418

#626418 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.6% C 0.096 H 111.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#626418
RGBrgb(98, 100, 24)
HSLhsl(62, 61%, 24%)
HSVhsv(62, 76%, 39%)
CMYKcmyk(2%, 0%, 76%, 60.8%)
CIE-LABlab(40.86, -10.95, 40.27)
CIE-LCHlch(40.86, 41.73, 105.21°)
OKLaboklab(48.64% -0.0342 0.0892)
OKLCHoklch(48.64% 0.096 111)
XYZxyz(9.7594, 11.7772, 2.6231)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626418 #1A1864
analogous
#644018 #626418 #3C6418
triadic
#626418 #186264 #641862
tetradic
#626418 #186440 #1A1864 #64183C
square
#626418 #186440 #1A1864 #64183C
split-complementary
#626418 #183C64 #401864
monochromatic
#181906 #32330C #626418 #929524 #C3C730

Accessibility & contrast

On white

6.26
#626418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#626418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626418
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626418#FFFFFF#000000##FFFFFF
##6264181.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0A
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#695D55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #626418;
/* rgb */ color: rgb(98, 100, 24);
/* oklch */ color: oklch(48.6% 0.096 111.0);
Tailwind
colors: {
  custom: {
    50: '#91905b',
    500: '#626418',
    950: '#000000',
  },
}
SCSS
$custom: #626418;
$custom-light: #91905b;
$custom-dark: #000000;
JSON
{
  "hex": "#626418",
  "rgb": {
    "r": 98,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 61.579,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48641,
    "c": 0.0955,
    "h": 111
  },
  "luminance": 0.11777
}

Semantic roles & 50–950 ramp

primary
#626418
secondary
#403E9A
accent
#43E448
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626418

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

Preview Lab → · Contrast checker → · Palette generator →

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