#626B1D#626B1D

#626B1D is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.4% C 0.100 H 115.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#626B1D
RGBrgb(98, 107, 29)
HSLhsl(67, 57%, 27%)
HSVhsv(67, 73%, 42%)
CMYKcmyk(8.4%, 0%, 72.9%, 58%)
CIE-LABlab(43.06, -14.55, 40.40)
CIE-LCHlch(43.06, 42.94, 109.80°)
OKLaboklab(50.42% -0.0437 0.0904)
OKLCHoklch(50.42% 0.1 115.8)
XYZxyz(10.5167, 13.2009, 3.1562)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626B1D #261D6B
analogous
#6B4D1D #626B1D #3B6B1D
triadic
#626B1D #1D626B #6B1D62
tetradic
#626B1D #1D6B4D #261D6B #6B1D3B
square
#626B1D #1D6B4D #261D6B #6B1D3B
split-complementary
#626B1D #1D3B6B #4D1D6B
monochromatic
#161807 #363B10 #626B1D #8E9B2A #B9C939

Accessibility & contrast

On white

5.77
#626B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#626B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626B1D
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626B1D#FFFFFF#000000##FFFFFF
##626B1D1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736510
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#69655C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #626b1d;
/* rgb */ color: rgb(98, 107, 29);
/* oklch */ color: oklch(50.4% 0.100 115.8);
Tailwind
colors: {
  custom: {
    50: '#91955e',
    500: '#626b1d',
    950: '#000000',
  },
}
SCSS
$custom: #626b1d;
$custom-light: #91955e;
$custom-dark: #000000;
JSON
{
  "hex": "#626b1d",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 29
  },
  "hsl": {
    "h": 66.923,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50418,
    "c": 0.10039,
    "h": 115.8
  },
  "luminance": 0.13201
}

Semantic roles & 50–950 ramp

primary
#626B1D
secondary
#4F44A0
accent
#47E159
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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