#62812A#62812A

#62812A is a mid, moderate yellow-green. Relative luminance 0.185; OKLCH L 56.1% C 0.120 H 126.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#62812A
RGBrgb(98, 129, 42)
HSLhsl(81, 51%, 34%)
HSVhsv(81, 67%, 51%)
CMYKcmyk(24%, 0%, 67.4%, 49.4%)
CIE-LABlab(50.05, -25.10, 42.01)
CIE-LCHlch(50.05, 48.94, 120.86°)
OKLaboklab(56.09% -0.0716 0.0959)
OKLCHoklch(56.09% 0.12 126.8)
XYZxyz(13.3052, 18.4641, 5.0530)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62812A #492A81
analogous
#81742A #62812A #36812A
triadic
#62812A #2A6281 #812A62
tetradic
#62812A #2A8174 #492A81 #812A36
square
#62812A #2A8174 #492A81 #812A36
split-complementary
#62812A #2A3681 #742A81
monochromatic
#1C250C #3F531B #62812A #85AF39 #A3CA5C

Accessibility & contrast

On white

4.47
#62812A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#62812A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62812A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62812A#FFFFFF#000000##000000
##62812A1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781E
Deuteranopia (green-blind)
#837731
Tritanopia (blue-blind)
#667B6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #62812a;
/* rgb */ color: rgb(98, 129, 42);
/* oklch */ color: oklch(56.1% 0.120 126.8);
Tailwind
colors: {
  custom: {
    50: '#91a568',
    500: '#62812a',
    950: '#000000',
  },
}
SCSS
$custom: #62812a;
$custom-light: #91a568;
$custom-dark: #000000;
JSON
{
  "hex": "#62812a",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 81.379,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56087,
    "c": 0.11966,
    "h": 126.8
  },
  "luminance": 0.18464
}

Semantic roles & 50–950 ramp

primary
#62812A
secondary
#7757AF
accent
#4DDA80
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #62812A

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

Preview Lab → · Contrast checker → · Palette generator →

#62812A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva