#626A19#626A19

#626A19 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.1% C 0.102 H 115.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#626A19
RGBrgb(98, 106, 25)
HSLhsl(66, 62%, 26%)
HSVhsv(66, 76%, 42%)
CMYKcmyk(7.5%, 0%, 76.4%, 58.4%)
CIE-LABlab(42.73, -14.23, 41.68)
CIE-LCHlch(42.73, 44.04, 108.86°)
OKLaboklab(50.14% -0.0432 0.0923)
OKLCHoklch(50.14% 0.102 115.1)
XYZxyz(10.3668, 12.9751, 2.8778)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626A19 #21196A
analogous
#6A4919 #626A19 #396A19
triadic
#626A19 #19626A #6A1962
tetradic
#626A19 #196A49 #21196A #6A1939
square
#626A19 #196A49 #21196A #6A1939
split-complementary
#626A19 #19396A #49196A
monochromatic
#171906 #34380D #626A19 #909C25 #BECD30

Accessibility & contrast

On white

5.84
#626A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#626A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626A19
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626A19#FFFFFF#000000##FFFFFF
##626A191.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726409
Deuteranopia (green-blind)
#716620
Tritanopia (blue-blind)
#69635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #626a19;
/* rgb */ color: rgb(98, 106, 25);
/* oklch */ color: oklch(50.1% 0.102 115.1);
Tailwind
colors: {
  custom: {
    50: '#91945c',
    500: '#626a19',
    950: '#000000',
  },
}
SCSS
$custom: #626a19;
$custom-light: #91945c;
$custom-dark: #000000;
JSON
{
  "hex": "#626a19",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 25
  },
  "hsl": {
    "h": 65.926,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50138,
    "c": 0.10195,
    "h": 115.1
  },
  "luminance": 0.12975
}

Semantic roles & 50–950 ramp

primary
#626A19
secondary
#493FA0
accent
#43E553
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626A19

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

Preview Lab → · Contrast checker → · Palette generator →

#626A19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva