#62781A#62781A

#62781A is a mid, moderate yellow-green. Relative luminance 0.161; OKLCH L 53.7% C 0.119 H 122.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#62781A
RGBrgb(98, 120, 26)
HSLhsl(74, 64%, 29%)
HSVhsv(74, 78%, 47%)
CMYKcmyk(18.3%, 0%, 78.3%, 52.9%)
CIE-LABlab(47.11, -21.61, 45.48)
CIE-LCHlch(47.11, 50.36, 115.42°)
OKLaboklab(53.67% -0.0635 0.1005)
OKLCHoklch(53.67% 0.119 122.3)
XYZxyz(11.9401, 16.1042, 3.4565)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62781A #301A78
analogous
#785F1A #62781A #33781A
triadic
#62781A #1A6278 #781A62
tetradic
#62781A #1A785F #301A78 #781A33
square
#62781A #1A785F #301A78 #781A33
split-complementary
#62781A #1A3378 #5F1A78
monochromatic
#151905 #39460F #62781A #8BAA25 #B0D438

Accessibility & contrast

On white

4.98
#62781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#62781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #62781A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62781A#FFFFFF#000000##FFFFFF
##62781A1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807004
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#687266
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #62781a;
/* rgb */ color: rgb(98, 120, 26);
/* oklch */ color: oklch(53.7% 0.119 122.3);
Tailwind
colors: {
  custom: {
    50: '#929f5f',
    500: '#62781a',
    950: '#000000',
  },
}
SCSS
$custom: #62781a;
$custom-light: #929f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#62781a",
  "rgb": {
    "r": 98,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 74.043,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5367,
    "c": 0.11892,
    "h": 122.3
  },
  "luminance": 0.16104
}

Semantic roles & 50–950 ramp

primary
#62781A
secondary
#5A41AC
accent
#40E767
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #62781A

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

Preview Lab → · Contrast checker → · Palette generator →

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