#626A1D#626A1D

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

Color values

HEX#626A1D
RGBrgb(98, 106, 29)
HSLhsl(66, 57%, 26%)
HSVhsv(66, 73%, 42%)
CMYKcmyk(7.5%, 0%, 72.6%, 58.4%)
CIE-LABlab(42.75, -14.00, 40.09)
CIE-LCHlch(42.75, 42.46, 109.25°)
OKLaboklab(50.17% -0.0422 0.0897)
OKLCHoklch(50.17% 0.099 115.2)
XYZxyz(10.4131, 12.9936, 3.1216)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626A1D #251D6A
analogous
#6A4C1D #626A1D #3C6A1D
triadic
#626A1D #1D626A #6A1D62
tetradic
#626A1D #1D6A4C #251D6A #6A1D3C
square
#626A1D #1D6A4C #251D6A #6A1D3C
split-complementary
#626A1D #1D3C6A #4C1D6A
monochromatic
#161807 #363A10 #626A1D #8E9A2A #BAC939

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626A1D#FFFFFF#000000##FFFFFF
##626A1D1.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)
#726411
Deuteranopia (green-blind)
#716623
Tritanopia (blue-blind)
#69645B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #626a1d;
/* rgb */ color: rgb(98, 106, 29);
/* oklch */ color: oklch(50.2% 0.099 115.2);
Tailwind
colors: {
  custom: {
    50: '#91945e',
    500: '#626a1d',
    950: '#000000',
  },
}
SCSS
$custom: #626a1d;
$custom-light: #91945e;
$custom-dark: #000000;
JSON
{
  "hex": "#626a1d",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 29
  },
  "hsl": {
    "h": 66.234,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50169,
    "c": 0.09915,
    "h": 115.2
  },
  "luminance": 0.12993
}

Semantic roles & 50–950 ramp

primary
#626A1D
secondary
#4E449F
accent
#48E057
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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