#708231#708231

#708231 is a mid, moderate yellow-green. Relative luminance 0.196; OKLCH L 57.5% C 0.109 H 120.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#708231
RGBrgb(112, 130, 49)
HSLhsl(73, 45%, 35%)
HSVhsv(73, 62%, 51%)
CMYKcmyk(13.8%, 0%, 62.3%, 49%)
CIE-LABlab(51.42, -19.08, 40.59)
CIE-LCHlch(51.42, 44.85, 115.18°)
OKLaboklab(57.46% -0.0551 0.0935)
OKLCHoklch(57.46% 0.109 120.5)
XYZxyz(15.2193, 19.6318, 5.8927)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708231 #433182
analogous
#826B31 #708231 #488231
triadic
#708231 #317082 #823170
tetradic
#708231 #31826B #433182 #823148
square
#708231 #31826B #433182 #823148
split-complementary
#708231 #314882 #6B3182
monochromatic
#23290F #4A5620 #708231 #96AE42 #B1C668

Accessibility & contrast

On white

4.26
#708231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#708231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #708231
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##708231#FFFFFF#000000##000000
##7082311.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B28
Deuteranopia (green-blind)
#887B36
Tritanopia (blue-blind)
#767B71
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #708231;
/* rgb */ color: rgb(112, 130, 49);
/* oklch */ color: oklch(57.5% 0.109 120.5);
Tailwind
colors: {
  custom: {
    50: '#9ba66d',
    500: '#708231',
    950: '#000000',
  },
}
SCSS
$custom: #708231;
$custom-light: #9ba66d;
$custom-dark: #000000;
JSON
{
  "hex": "#708231",
  "rgb": {
    "r": 112,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 73.333,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57462,
    "c": 0.10857,
    "h": 120.5
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#708231
secondary
#7262AD
accent
#53D570
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #708231

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

Preview Lab → · Contrast checker → · Palette generator →

#708231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva