#626D2A#626D2A

#626D2A is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.0% C 0.092 H 117.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#626D2A
RGBrgb(98, 109, 42)
HSLhsl(70, 44%, 30%)
HSVhsv(70, 61%, 43%)
CMYKcmyk(10.1%, 0%, 61.5%, 57.3%)
CIE-LABlab(43.80, -14.67, 35.21)
CIE-LCHlch(43.80, 38.15, 112.61°)
OKLaboklab(51.05% -0.0426 0.0815)
OKLCHoklch(51.05% 0.092 117.6)
XYZxyz(10.9237, 13.7012, 4.2592)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626D2A #352A6D
analogous
#6D572A #626D2A #416D2A
triadic
#626D2A #2A626D #6D2A62
tetradic
#626D2A #2A6D57 #352A6D #6D2A41
square
#626D2A #2A6D57 #352A6D #6D2A41
split-complementary
#626D2A #2A416D #572A6D
monochromatic
#141609 #3A4119 #626D2A #8A993B #ACBD54

Accessibility & contrast

On white

5.61
#626D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#626D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626D2A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626D2A#FFFFFF#000000##FFFFFF
##626D2A1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746723
Deuteranopia (green-blind)
#73682E
Tritanopia (blue-blind)
#68675F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #626d2a;
/* rgb */ color: rgb(98, 109, 42);
/* oklch */ color: oklch(51.0% 0.092 117.6);
Tailwind
colors: {
  custom: {
    50: '#909666',
    500: '#626d2a',
    950: '#000000',
  },
}
SCSS
$custom: #626d2a;
$custom-light: #909666;
$custom-dark: #000000;
JSON
{
  "hex": "#626d2a",
  "rgb": {
    "r": 98,
    "g": 109,
    "b": 42
  },
  "hsl": {
    "h": 69.851,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51047,
    "c": 0.09193,
    "h": 117.6
  },
  "luminance": 0.13701
}

Semantic roles & 50–950 ramp

primary
#626D2A
secondary
#60549F
accent
#54D469
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #626D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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