#626D1D#626D1D

#626D1D is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 50.9% C 0.103 H 117.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#626D1D
RGBrgb(98, 109, 29)
HSLhsl(68, 58%, 27%)
HSVhsv(68, 73%, 43%)
CMYKcmyk(10.1%, 0%, 73.4%, 57.3%)
CIE-LABlab(43.69, -15.64, 41.02)
CIE-LCHlch(43.69, 43.90, 110.87°)
OKLaboklab(50.92% -0.0467 0.0917)
OKLCHoklch(50.92% 0.103 117)
XYZxyz(10.7277, 13.6228, 3.2265)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626D1D #281D6D
analogous
#6D501D #626D1D #3A6D1D
triadic
#626D1D #1D626D #6D1D62
tetradic
#626D1D #1D6D50 #281D6D #6D1D3A
square
#626D1D #1D6D50 #281D6D #6D1D3A
split-complementary
#626D1D #1D3A6D #501D6D
monochromatic
#161806 #373D10 #626D1D #8D9D2A #B7CB3A

Accessibility & contrast

On white

5.64
#626D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#626D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626D1D
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626D1D#FFFFFF#000000##FFFFFF
##626D1D1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756710
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#68675D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #626d1d;
/* rgb */ color: rgb(98, 109, 29);
/* oklch */ color: oklch(50.9% 0.103 117.0);
Tailwind
colors: {
  custom: {
    50: '#91965f',
    500: '#626d1d',
    950: '#000000',
  },
}
SCSS
$custom: #626d1d;
$custom-light: #91965f;
$custom-dark: #000000;
JSON
{
  "hex": "#626d1d",
  "rgb": {
    "r": 98,
    "g": 109,
    "b": 29
  },
  "hsl": {
    "h": 68.25,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50918,
    "c": 0.10291,
    "h": 117
  },
  "luminance": 0.13623
}

Semantic roles & 50–950 ramp

primary
#626D1D
secondary
#5144A2
accent
#47E15C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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