#62812F#62812F

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

Color values

HEX#62812F
RGBrgb(98, 129, 47)
HSLhsl(83, 47%, 35%)
HSVhsv(83, 64%, 51%)
CMYKcmyk(24%, 0%, 63.6%, 49.4%)
CIE-LABlab(50.10, -24.68, 39.79)
CIE-LCHlch(50.10, 46.82, 121.81°)
OKLaboklab(56.14% -0.07 0.0919)
OKLCHoklch(56.14% 0.115 127.3)
XYZxyz(13.4003, 18.5022, 5.5541)
Luminance0.1850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62812F #4E2F81
analogous
#81772F #62812F #39812F
triadic
#62812F #2F6281 #812F62
tetradic
#62812F #2F8177 #4E2F81 #812F39
square
#62812F #2F8177 #4E2F81 #812F39
split-complementary
#62812F #2F3981 #772F81
monochromatic
#1E270E #40541F #62812F #84AE3F #A1C664

Accessibility & contrast

On white

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

On black

4.70
#62812F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62812F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62812F#FFFFFF#000000##000000
##62812F1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877825
Deuteranopia (green-blind)
#837735
Tritanopia (blue-blind)
#657B70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #62812f;
/* rgb */ color: rgb(98, 129, 47);
/* oklch */ color: oklch(56.1% 0.115 127.3);
Tailwind
colors: {
  custom: {
    50: '#91a56b',
    500: '#62812f',
    950: '#000000',
  },
}
SCSS
$custom: #62812f;
$custom-light: #91a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#62812f",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 82.683,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56139,
    "c": 0.11547,
    "h": 127.3
  },
  "luminance": 0.18502
}

Semantic roles & 50–950 ramp

primary
#62812F
secondary
#7C5EAD
accent
#52D684
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #62812F

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

Preview Lab → · Contrast checker → · Palette generator →

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