#626C1E#626C1E

#626C1E is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.7% C 0.101 H 116.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#626C1E
RGBrgb(98, 108, 30)
HSLhsl(68, 57%, 27%)
HSVhsv(68, 72%, 42%)
CMYKcmyk(9.3%, 0%, 72.2%, 57.6%)
CIE-LABlab(43.38, -15.03, 40.30)
CIE-LCHlch(43.38, 43.01, 110.45°)
OKLaboklab(50.68% -0.0449 0.0904)
OKLCHoklch(50.68% 0.101 116.4)
XYZxyz(10.6342, 13.4157, 3.2573)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626C1E #281E6C
analogous
#6C4F1E #626C1E #3B6C1E
triadic
#626C1E #1E626C #6C1E62
tetradic
#626C1E #1E6C4F #281E6C #6C1E3B
square
#626C1E #1E6C4F #281E6C #6C1E3B
split-complementary
#626C1E #1E3B6C #4F1E6C
monochromatic
#161807 #373C11 #626C1E #8D9C2B #B7C93C

Accessibility & contrast

On white

5.70
#626C1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#626C1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626C1E
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626C1E#FFFFFF#000000##FFFFFF
##626C1E1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746612
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#68665C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #626c1e;
/* rgb */ color: rgb(98, 108, 30);
/* oklch */ color: oklch(50.7% 0.101 116.4);
Tailwind
colors: {
  custom: {
    50: '#91965f',
    500: '#626c1e',
    950: '#000000',
  },
}
SCSS
$custom: #626c1e;
$custom-light: #91965f;
$custom-dark: #000000;
JSON
{
  "hex": "#626c1e",
  "rgb": {
    "r": 98,
    "g": 108,
    "b": 30
  },
  "hsl": {
    "h": 67.692,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50676,
    "c": 0.10091,
    "h": 116.4
  },
  "luminance": 0.13416
}

Semantic roles & 50–950 ramp

primary
#626C1E
secondary
#5145A0
accent
#48E05B
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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