#626F1A#626F1A

#626F1A is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.4% C 0.107 H 118.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#626F1A
RGBrgb(98, 111, 26)
HSLhsl(69, 62%, 27%)
HSVhsv(69, 77%, 44%)
CMYKcmyk(11.7%, 0%, 76.6%, 56.5%)
CIE-LABlab(44.29, -16.89, 42.80)
CIE-LCHlch(44.29, 46.01, 111.54°)
OKLaboklab(51.4% -0.0505 0.0949)
OKLCHoklch(51.4% 0.107 118)
XYZxyz(10.9081, 14.0402, 3.1125)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626F1A #271A6F
analogous
#6F521A #626F1A #386F1A
triadic
#626F1A #1A626F #6F1A62
tetradic
#626F1A #1A6F52 #271A6F #6F1A38
square
#626F1A #1A6F52 #271A6F #6F1A38
split-complementary
#626F1A #1A386F #521A6F
monochromatic
#161906 #363D0E #626F1A #8EA126 #B8CF34

Accessibility & contrast

On white

5.51
#626F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#626F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626F1A
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626F1A#FFFFFF#000000##FFFFFF
##626F1A1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776909
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#68695F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #626f1a;
/* rgb */ color: rgb(98, 111, 26);
/* oklch */ color: oklch(51.4% 0.107 118.0);
Tailwind
colors: {
  custom: {
    50: '#91985d',
    500: '#626f1a',
    950: '#000000',
  },
}
SCSS
$custom: #626f1a;
$custom-light: #91985d;
$custom-dark: #000000;
JSON
{
  "hex": "#626f1a",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 69.176,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51397,
    "c": 0.10748,
    "h": 118
  },
  "luminance": 0.1404
}

Semantic roles & 50–950 ramp

primary
#626F1A
secondary
#5041A4
accent
#43E55C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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