#626D1A#626D1A

#626D1A is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 50.9% C 0.105 H 116.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#626D1A
RGBrgb(98, 109, 26)
HSLhsl(68, 61%, 26%)
HSVhsv(68, 76%, 43%)
CMYKcmyk(10.1%, 0%, 76.1%, 57.3%)
CIE-LABlab(43.67, -15.81, 42.20)
CIE-LCHlch(43.67, 45.06, 110.54°)
OKLaboklab(50.9% -0.0475 0.0936)
OKLCHoklch(50.9% 0.105 116.9)
XYZxyz(10.6924, 13.6087, 3.0405)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626D1A #251A6D
analogous
#6D4F1A #626D1A #396D1A
triadic
#626D1A #1A626D #6D1A62
tetradic
#626D1A #1A6D4F #251A6D #6D1A39
square
#626D1A #1A6D4F #251A6D #6D1A39
split-complementary
#626D1A #1A396D #4F1A6D
monochromatic
#161906 #363C0E #626D1A #8E9E26 #BACE33

Accessibility & contrast

On white

5.64
#626D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#626D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626D1A
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626D1A#FFFFFF#000000##FFFFFF
##626D1A1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670A
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#68675D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #626d1a;
/* rgb */ color: rgb(98, 109, 26);
/* oklch */ color: oklch(50.9% 0.105 116.9);
Tailwind
colors: {
  custom: {
    50: '#91965d',
    500: '#626d1a',
    950: '#000000',
  },
}
SCSS
$custom: #626d1a;
$custom-light: #91965d;
$custom-dark: #000000;
JSON
{
  "hex": "#626d1a",
  "rgb": {
    "r": 98,
    "g": 109,
    "b": 26
  },
  "hsl": {
    "h": 67.952,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50895,
    "c": 0.10498,
    "h": 116.9
  },
  "luminance": 0.13609
}

Semantic roles & 50–950 ramp

primary
#626D1A
secondary
#4E41A2
accent
#43E559
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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