#62731B#62731B

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

Color values

HEX#62731B
RGBrgb(98, 115, 27)
HSLhsl(72, 62%, 28%)
HSVhsv(72, 77%, 45%)
CMYKcmyk(14.8%, 0%, 76.5%, 54.9%)
CIE-LABlab(45.55, -18.96, 43.63)
CIE-LCHlch(45.55, 47.57, 113.49°)
OKLaboklab(52.41% -0.0561 0.0968)
OKLCHoklch(52.41% 0.112 120.1)
XYZxyz(11.3658, 14.9373, 3.3211)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62731B #2C1B73
analogous
#73581B #62731B #36731B
triadic
#62731B #1B6273 #731B62
tetradic
#62731B #1B7358 #2C1B73 #731B36
square
#62731B #1B7358 #2C1B73 #731B36
split-complementary
#62731B #1B3673 #581B73
monochromatic
#151906 #38410F #62731B #8CA527 #B3D038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62731B#FFFFFF#000000##FFFFFF
##62731B1.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)
#7B6C09
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#686D62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #62731b;
/* rgb */ color: rgb(98, 115, 27);
/* oklch */ color: oklch(52.4% 0.112 120.1);
Tailwind
colors: {
  custom: {
    50: '#919b5e',
    500: '#62731b',
    950: '#000000',
  },
}
SCSS
$custom: #62731b;
$custom-light: #919b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#62731b",
  "rgb": {
    "r": 98,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 71.591,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.11191,
    "h": 120.1
  },
  "luminance": 0.14937
}

Semantic roles & 50–950 ramp

primary
#62731B
secondary
#5642A8
accent
#43E562
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #62731B

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

Preview Lab → · Contrast checker → · Palette generator →

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