#626518#626518

#626518 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 48.9% C 0.097 H 111.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#626518
RGBrgb(98, 101, 24)
HSLhsl(62, 62%, 25%)
HSVhsv(62, 76%, 40%)
CMYKcmyk(3%, 0%, 76.2%, 60.4%)
CIE-LABlab(41.17, -11.51, 40.57)
CIE-LCHlch(41.17, 42.17, 105.84°)
OKLaboklab(48.89% -0.0358 0.0898)
OKLCHoklch(48.89% 0.097 111.7)
XYZxyz(9.8559, 11.9702, 2.6553)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626518 #1B1865
analogous
#654218 #626518 #3C6518
triadic
#626518 #186265 #651862
tetradic
#626518 #186542 #1B1865 #65183C
square
#626518 #186542 #1B1865 #65183C
split-complementary
#626518 #183C65 #421865
monochromatic
#181906 #32340C #626518 #929624 #C2C830

Accessibility & contrast

On white

6.19
#626518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#626518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626518
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626518#FFFFFF#000000##FFFFFF
##6265181.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6009
Deuteranopia (green-blind)
#6E621E
Tritanopia (blue-blind)
#695E56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #626518;
/* rgb */ color: rgb(98, 101, 24);
/* oklch */ color: oklch(48.9% 0.097 111.7);
Tailwind
colors: {
  custom: {
    50: '#91905b',
    500: '#626518',
    950: '#000000',
  },
}
SCSS
$custom: #626518;
$custom-light: #91905b;
$custom-dark: #000000;
JSON
{
  "hex": "#626518",
  "rgb": {
    "r": 98,
    "g": 101,
    "b": 24
  },
  "hsl": {
    "h": 62.338,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48888,
    "c": 0.09666,
    "h": 111.7
  },
  "luminance": 0.1197
}

Semantic roles & 50–950 ramp

primary
#626518
secondary
#413E9B
accent
#43E549
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626518

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

Preview Lab → · Contrast checker → · Palette generator →

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