#62731C#62731C

#62731C is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.4% C 0.111 H 120.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#62731C
RGBrgb(98, 115, 28)
HSLhsl(72, 61%, 28%)
HSVhsv(72, 76%, 45%)
CMYKcmyk(14.8%, 0%, 75.7%, 54.9%)
CIE-LABlab(45.55, -18.90, 43.25)
CIE-LCHlch(45.55, 47.20, 113.61°)
OKLaboklab(52.42% -0.0559 0.0962)
OKLCHoklch(52.42% 0.111 120.1)
XYZxyz(11.3775, 14.9420, 3.3831)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62731C #2D1C73
analogous
#73581C #62731C #36731C
triadic
#62731C #1C6273 #731C62
tetradic
#62731C #1C7358 #2D1C73 #731C36
square
#62731C #1C7358 #2D1C73 #731C36
split-complementary
#62731C #1C3673 #581C73
monochromatic
#151906 #384210 #62731C #8CA428 #B2CF3A

Accessibility & contrast

On white

5.27
#62731C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#62731C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #62731C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62731C#FFFFFF#000000##FFFFFF
##62731C1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C0B
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#686D62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #62731c;
/* rgb */ color: rgb(98, 115, 28);
/* oklch */ color: oklch(52.4% 0.111 120.1);
Tailwind
colors: {
  custom: {
    50: '#919b5f',
    500: '#62731c',
    950: '#000000',
  },
}
SCSS
$custom: #62731c;
$custom-light: #919b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#62731c",
  "rgb": {
    "r": 98,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 71.724,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52419,
    "c": 0.11126,
    "h": 120.1
  },
  "luminance": 0.14942
}

Semantic roles & 50–950 ramp

primary
#62731C
secondary
#5743A7
accent
#44E463
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #62731C

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

Preview Lab → · Contrast checker → · Palette generator →

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