#626C1D#626C1D

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

Color values

HEX#626C1D
RGBrgb(98, 108, 29)
HSLhsl(68, 58%, 27%)
HSVhsv(68, 73%, 42%)
CMYKcmyk(9.3%, 0%, 73.1%, 57.6%)
CIE-LABlab(43.38, -15.09, 40.71)
CIE-LCHlch(43.38, 43.42, 110.34°)
OKLaboklab(50.67% -0.0452 0.091)
OKLCHoklch(50.67% 0.102 116.4)
XYZxyz(10.6216, 13.4106, 3.1911)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626C1D #271D6C
analogous
#6C4F1D #626C1D #3B6C1D
triadic
#626C1D #1D626C #6C1D62
tetradic
#626C1D #1D6C4F #271D6C #6C1D3B
square
#626C1D #1D6C4F #271D6C #6C1D3B
split-complementary
#626C1D #1D3B6C #4F1D6C
monochromatic
#161806 #363C10 #626C1D #8E9C2A #B8CA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626C1D#FFFFFF#000000##FFFFFF
##626C1D1.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)
#746610
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#68665C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #626c1d;
/* rgb */ color: rgb(98, 108, 29);
/* oklch */ color: oklch(50.7% 0.102 116.4);
Tailwind
colors: {
  custom: {
    50: '#91965f',
    500: '#626c1d',
    950: '#000000',
  },
}
SCSS
$custom: #626c1d;
$custom-light: #91965f;
$custom-dark: #000000;
JSON
{
  "hex": "#626c1d",
  "rgb": {
    "r": 98,
    "g": 108,
    "b": 29
  },
  "hsl": {
    "h": 67.595,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50668,
    "c": 0.10164,
    "h": 116.4
  },
  "luminance": 0.13411
}

Semantic roles & 50–950 ramp

primary
#626C1D
secondary
#5044A1
accent
#47E15A
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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