#626C1F#626C1F

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

Color values

HEX#626C1F
RGBrgb(98, 108, 31)
HSLhsl(68, 55%, 27%)
HSVhsv(68, 71%, 42%)
CMYKcmyk(9.3%, 0%, 71.3%, 57.6%)
CIE-LABlab(43.39, -14.97, 39.88)
CIE-LCHlch(43.39, 42.60, 110.57°)
OKLaboklab(50.69% -0.0446 0.0896)
OKLCHoklch(50.69% 0.1 116.5)
XYZxyz(10.6471, 13.4209, 3.3257)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626C1F #291F6C
analogous
#6C501F #626C1F #3C6C1F
triadic
#626C1F #1F626C #6C1F62
tetradic
#626C1F #1F6C50 #291F6C #6C1F3C
square
#626C1F #1F6C50 #291F6C #6C1F3C
split-complementary
#626C1F #1F3C6C #501F6C
monochromatic
#161807 #373C11 #626C1F #8D9C2D #B6C83E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626C1F#FFFFFF#000000##FFFFFF
##626C1F1.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)
#746613
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#68665D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #626c1f;
/* rgb */ color: rgb(98, 108, 31);
/* oklch */ color: oklch(50.7% 0.100 116.5);
Tailwind
colors: {
  custom: {
    50: '#919660',
    500: '#626c1f',
    950: '#000000',
  },
}
SCSS
$custom: #626c1f;
$custom-light: #919660;
$custom-dark: #000000;
JSON
{
  "hex": "#626c1f",
  "rgb": {
    "r": 98,
    "g": 108,
    "b": 31
  },
  "hsl": {
    "h": 67.792,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50685,
    "c": 0.10014,
    "h": 116.5
  },
  "luminance": 0.13421
}

Semantic roles & 50–950 ramp

primary
#626C1F
secondary
#5247A0
accent
#49DF5D
background
#F9F9F5
surface
#F1F1EA
border
#CBCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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