#626124#626124

#626124 is a mid, moderate yellow. Relative luminance 0.113; OKLCH L 48.0% C 0.082 H 108.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#626124
RGBrgb(98, 97, 36)
HSLhsl(59, 46%, 26%)
HSVhsv(59, 63%, 38%)
CMYKcmyk(0%, 1%, 63.3%, 61.6%)
CIE-LABlab(40.04, -8.44, 34.02)
CIE-LCHlch(40.04, 35.06, 103.94°)
OKLaboklab(48.02% -0.0257 0.0781)
OKLCHoklch(48.02% 0.082 108.2)
XYZxyz(9.6304, 11.2737, 3.3375)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626124 #242562
analogous
#624224 #626124 #446224
triadic
#626124 #246261 #612462
tetradic
#626124 #246242 #242562 #622444
square
#626124 #246242 #242562 #622444
split-complementary
#626124 #244462 #422462
monochromatic
#161608 #353514 #626124 #8F8D34 #BBB946

Accessibility & contrast

On white

6.45
#626124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#626124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626124
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626124#FFFFFF#000000##FFFFFF
##6261241.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D1D
Deuteranopia (green-blind)
#6A5F28
Tritanopia (blue-blind)
#695B54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #626124;
/* rgb */ color: rgb(98, 97, 36);
/* oklch */ color: oklch(48.0% 0.082 108.2);
Tailwind
colors: {
  custom: {
    50: '#918d62',
    500: '#626124',
    950: '#000000',
  },
}
SCSS
$custom: #626124;
$custom-light: #918d62;
$custom-dark: #000000;
JSON
{
  "hex": "#626124",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 36
  },
  "hsl": {
    "h": 59.032,
    "s": 46.269,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48017,
    "c": 0.08223,
    "h": 108.2
  },
  "luminance": 0.11273
}

Semantic roles & 50–950 ramp

primary
#626124
secondary
#4C4E95
accent
#54D652
background
#F9F8F5
surface
#F1F0EA
border
#CBCBC6
text
#0D0C05
muted
#7E7D79

Preview Lab

Preview with #626124

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

Preview Lab → · Contrast checker → · Palette generator →

#626124 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva