#626F1E#626F1E

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

Color values

HEX#626F1E
RGBrgb(98, 111, 30)
HSLhsl(70, 57%, 28%)
HSVhsv(70, 73%, 44%)
CMYKcmyk(11.7%, 0%, 73%, 56.5%)
CIE-LABlab(44.32, -16.65, 41.24)
CIE-LCHlch(44.32, 44.47, 111.99°)
OKLaboklab(51.43% -0.0494 0.0923)
OKLCHoklch(51.43% 0.105 118.2)
XYZxyz(10.9560, 14.0594, 3.3646)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626F1E #2B1E6F
analogous
#6F541E #626F1E #396F1E
triadic
#626F1E #1E626F #6F1E62
tetradic
#626F1E #1E6F54 #2B1E6F #6F1E39
square
#626F1E #1E6F54 #2B1E6F #6F1E39
split-complementary
#626F1E #1E396F #541E6F
monochromatic
#151807 #373F11 #626F1E #8D9F2B #B4CB3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626F1E#FFFFFF#000000##FFFFFF
##626F1E1.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)
#776911
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#68695F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #626f1e;
/* rgb */ color: rgb(98, 111, 30);
/* oklch */ color: oklch(51.4% 0.105 118.2);
Tailwind
colors: {
  custom: {
    50: '#919860',
    500: '#626f1e',
    950: '#000000',
  },
}
SCSS
$custom: #626f1e;
$custom-light: #919860;
$custom-dark: #000000;
JSON
{
  "hex": "#626f1e",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 30
  },
  "hsl": {
    "h": 69.63,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51428,
    "c": 0.10473,
    "h": 118.2
  },
  "luminance": 0.14059
}

Semantic roles & 50–950 ramp

primary
#626F1E
secondary
#5546A3
accent
#47E160
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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