#626F1F#626F1F

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

Color values

HEX#626F1F
RGBrgb(98, 111, 31)
HSLhsl(70, 56%, 28%)
HSVhsv(70, 72%, 44%)
CMYKcmyk(11.7%, 0%, 72.1%, 56.5%)
CIE-LABlab(44.33, -16.59, 40.83)
CIE-LCHlch(44.33, 44.07, 112.11°)
OKLaboklab(51.44% -0.0492 0.0916)
OKLCHoklch(51.44% 0.104 118.2)
XYZxyz(10.9690, 14.0646, 3.4329)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626F1F #2C1F6F
analogous
#6F541F #626F1F #3A6F1F
triadic
#626F1F #1F626F #6F1F62
tetradic
#626F1F #1F6F54 #2C1F6F #6F1F3A
square
#626F1F #1F6F54 #2C1F6F #6F1F3A
split-complementary
#626F1F #1F3A6F #541F6F
monochromatic
#151807 #383F12 #626F1F #8C9F2C #B3C93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626F1F#FFFFFF#000000##FFFFFF
##626F1F1.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)
#776913
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#68695F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #626f1f;
/* rgb */ color: rgb(98, 111, 31);
/* oklch */ color: oklch(51.4% 0.104 118.2);
Tailwind
colors: {
  custom: {
    50: '#919860',
    500: '#626f1f',
    950: '#000000',
  },
}
SCSS
$custom: #626f1f;
$custom-light: #919860;
$custom-dark: #000000;
JSON
{
  "hex": "#626f1f",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 69.75,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51436,
    "c": 0.10399,
    "h": 118.2
  },
  "luminance": 0.14064
}

Semantic roles & 50–950 ramp

primary
#626F1F
secondary
#5647A3
accent
#48E061
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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