#626318#626318

#626318 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.4% C 0.094 H 110.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#626318
RGBrgb(98, 99, 24)
HSLhsl(61, 61%, 24%)
HSVhsv(61, 76%, 39%)
CMYKcmyk(1%, 0%, 75.8%, 61.2%)
CIE-LABlab(40.55, -10.39, 39.97)
CIE-LCHlch(40.55, 41.30, 104.57°)
OKLaboklab(48.39% -0.0326 0.0886)
OKLCHoklch(48.39% 0.094 110.2)
XYZxyz(9.6640, 11.5866, 2.5913)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626318 #191863
analogous
#633F18 #626318 #3D6318
triadic
#626318 #186263 #631862
tetradic
#626318 #18633F #191863 #63183D
square
#626318 #18633F #191863 #63183D
split-complementary
#626318 #183D63 #3F1863
monochromatic
#181906 #31320C #626318 #939424 #C4C630

Accessibility & contrast

On white

6.33
#626318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#626318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626318
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626318#FFFFFF#000000##FFFFFF
##6263181.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0A
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#695C54
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #626318;
/* rgb */ color: rgb(98, 99, 24);
/* oklch */ color: oklch(48.4% 0.094 110.2);
Tailwind
colors: {
  custom: {
    50: '#918f5b',
    500: '#626318',
    950: '#000000',
  },
}
SCSS
$custom: #626318;
$custom-light: #918f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#626318",
  "rgb": {
    "r": 98,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 60.8,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48394,
    "c": 0.09437,
    "h": 110.2
  },
  "luminance": 0.11586
}

Semantic roles & 50–950 ramp

primary
#626318
secondary
#3F3E99
accent
#44E446
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626318

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

Preview Lab → · Contrast checker → · Palette generator →

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