#707231#707231

#707231 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.6% C 0.088 H 110.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#707231
RGBrgb(112, 114, 49)
HSLhsl(62, 40%, 32%)
HSVhsv(62, 57%, 45%)
CMYKcmyk(1.8%, 0%, 57%, 55.3%)
CIE-LABlab(46.58, -10.46, 35.16)
CIE-LCHlch(46.58, 36.68, 106.57°)
OKLaboklab(53.59% -0.0308 0.082)
OKLCHoklch(53.59% 0.088 110.6)
XYZxyz(13.2541, 15.7014, 5.2376)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707231 #333172
analogous
#725431 #707231 #507231
triadic
#707231 #317072 #723170
tetradic
#707231 #317254 #333172 #723150
square
#707231 #317254 #333172 #723150
split-complementary
#707231 #315072 #543172
monochromatic
#1C1C0C #46471F #707231 #9A9D43 #B9BB62

Accessibility & contrast

On white

5.07
#707231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#707231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #707231
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707231#FFFFFF#000000##FFFFFF
##7072311.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D2A
Deuteranopia (green-blind)
#7B6F35
Tritanopia (blue-blind)
#776B64
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #707231;
/* rgb */ color: rgb(112, 114, 49);
/* oklch */ color: oklch(53.6% 0.088 110.6);
Tailwind
colors: {
  custom: {
    50: '#9b9a6b',
    500: '#707231',
    950: '#000000',
  },
}
SCSS
$custom: #707231;
$custom-light: #9b9a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#707231",
  "rgb": {
    "r": 112,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 61.846,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53586,
    "c": 0.08756,
    "h": 110.6
  },
  "luminance": 0.15701
}

Semantic roles & 50–950 ramp

primary
#707231
secondary
#5E5CA3
accent
#58D05C
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E07
muted
#7E7E7A

Preview Lab

Preview with #707231

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

Preview Lab → · Contrast checker → · Palette generator →

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