#626331#626331

#626331 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.7% C 0.071 H 109.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#626331
RGBrgb(98, 99, 49)
HSLhsl(61, 34%, 29%)
HSVhsv(61, 51%, 39%)
CMYKcmyk(1%, 0%, 50.5%, 61.2%)
CIE-LABlab(40.80, -8.38, 28.07)
CIE-LCHlch(40.80, 29.29, 106.62°)
OKLaboklab(48.68% -0.024 0.0668)
OKLCHoklch(48.68% 0.071 109.8)
XYZxyz(10.0534, 11.7423, 4.6420)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626331 #323163
analogous
#634B31 #626331 #496331
triadic
#626331 #316263 #633162
tetradic
#626331 #31634B #323163 #633149
square
#626331 #31634B #323163 #633149
split-complementary
#626331 #314963 #4B3163
monochromatic
#14140A #393A1D #626331 #8B8C45 #AEB05F

Accessibility & contrast

On white

6.27
#626331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#626331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626331
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626331#FFFFFF#000000##FFFFFF
##6263311.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F2D
Deuteranopia (green-blind)
#6A6133
Tritanopia (blue-blind)
#685E57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #626331;
/* rgb */ color: rgb(98, 99, 49);
/* oklch */ color: oklch(48.7% 0.071 109.8);
Tailwind
colors: {
  custom: {
    50: '#908f6a',
    500: '#626331',
    950: '#000000',
  },
}
SCSS
$custom: #626331;
$custom-light: #908f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#626331",
  "rgb": {
    "r": 98,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 61.2,
    "s": 33.784,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48677,
    "c": 0.07098,
    "h": 109.8
  },
  "luminance": 0.11742
}

Semantic roles & 50–950 ramp

primary
#626331
secondary
#5D5C94
accent
#5ECA60
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0D0C06
muted
#7D7D7A

Preview Lab

Preview with #626331

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

Preview Lab → · Contrast checker → · Palette generator →

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