#626326#626326

#626326 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.5% C 0.083 H 110.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#626326
RGBrgb(98, 99, 38)
HSLhsl(61, 45%, 27%)
HSVhsv(61, 62%, 39%)
CMYKcmyk(1%, 0%, 61.6%, 61.2%)
CIE-LABlab(40.67, -9.42, 33.73)
CIE-LCHlch(40.67, 35.02, 105.61°)
OKLaboklab(48.53% -0.0283 0.0777)
OKLCHoklch(48.53% 0.083 110)
XYZxyz(9.8490, 11.6605, 3.5652)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626326 #272663
analogous
#634626 #626326 #446326
triadic
#626326 #266263 #632662
tetradic
#626326 #266346 #272663 #632644
square
#626326 #266346 #272663 #632644
split-complementary
#626326 #264463 #462663
monochromatic
#161608 #363715 #626326 #8E8F37 #B8B94A

Accessibility & contrast

On white

6.30
#626326 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#626326 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626326
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626326#FFFFFF#000000##FFFFFF
##6263261.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1F
Deuteranopia (green-blind)
#6B612A
Tritanopia (blue-blind)
#695D56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #626326;
/* rgb */ color: rgb(98, 99, 38);
/* oklch */ color: oklch(48.5% 0.083 110.0);
Tailwind
colors: {
  custom: {
    50: '#908f63',
    500: '#626326',
    950: '#000000',
  },
}
SCSS
$custom: #626326;
$custom-light: #908f63;
$custom-dark: #000000;
JSON
{
  "hex": "#626326",
  "rgb": {
    "r": 98,
    "g": 99,
    "b": 38
  },
  "hsl": {
    "h": 60.984,
    "s": 44.526,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48529,
    "c": 0.08273,
    "h": 110
  },
  "luminance": 0.1166
}

Semantic roles & 50–950 ramp

primary
#626326
secondary
#504F96
accent
#54D456
background
#F9F8F6
surface
#F1F0EB
border
#CBCBC6
text
#0D0C05
muted
#7E7D7A

Preview Lab

Preview with #626326

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

Preview Lab → · Contrast checker → · Palette generator →

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