#51623C#51623C

#51623C is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 47.1% C 0.062 H 128.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#51623C
RGBrgb(81, 98, 60)
HSLhsl(87, 24%, 31%)
HSVhsv(87, 39%, 38%)
CMYKcmyk(17.3%, 0%, 38.8%, 61.6%)
CIE-LABlab(39.26, -13.93, 19.56)
CIE-LCHlch(39.26, 24.01, 125.45°)
OKLaboklab(47.15% -0.038 0.0484)
OKLCHoklch(47.15% 0.062 128.2)
XYZxyz(8.5765, 10.8108, 5.9089)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51623C #4D3C62
analogous
#62603C #51623C #3E623C
triadic
#51623C #3C5162 #623C51
tetradic
#51623C #3C6260 #4D3C62 #623C3E
square
#51623C #3C6260 #4D3C62 #623C3E
split-complementary
#51623C #3C3E62 #603C62
monochromatic
#12160E #323C25 #51623C #708853 #8FA871

Accessibility & contrast

On white

6.64
#51623C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#51623C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51623C
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51623C#FFFFFF#000000##FFFFFF
##51623C1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665D39
Deuteranopia (green-blind)
#635C3E
Tritanopia (blue-blind)
#535F58
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #51623c;
/* rgb */ color: rgb(81, 98, 60);
/* oklch */ color: oklch(47.1% 0.062 128.2);
Tailwind
colors: {
  custom: {
    50: '#828e72',
    500: '#51623c',
    950: '#000000',
  },
}
SCSS
$custom: #51623c;
$custom-light: #828e72;
$custom-dark: #000000;
JSON
{
  "hex": "#51623c",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 60
  },
  "hsl": {
    "h": 86.842,
    "s": 24.051,
    "l": 30.98
  },
  "oklch": {
    "l": 0.47148,
    "c": 0.06154,
    "h": 128.2
  },
  "luminance": 0.10811
}

Semantic roles & 50–950 ramp

primary
#51623C
secondary
#7B6892
accent
#67C18F
background
#F8F8F6
surface
#EFF0EC
border
#CACBC7
text
#0A0C08
muted
#7C7D7B

Preview Lab

Preview with #51623C

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

Preview Lab → · Contrast checker → · Palette generator →

#51623C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva