#707F23#707F23

#707F23 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.6% C 0.116 H 118.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#707F23
RGBrgb(112, 127, 35)
HSLhsl(70, 57%, 32%)
HSVhsv(70, 72%, 50%)
CMYKcmyk(11.8%, 0%, 72.4%, 50.2%)
CIE-LABlab(50.39, -18.53, 45.62)
CIE-LCHlch(50.39, 49.24, 112.10°)
OKLaboklab(56.6% -0.055 0.102)
OKLCHoklch(56.6% 0.116 118.3)
XYZxyz(14.5751, 18.7450, 4.4401)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707F23 #32237F
analogous
#7F6023 #707F23 #427F23
triadic
#707F23 #23707F #7F2370
tetradic
#707F23 #237F60 #32237F #7F2342
square
#707F23 #237F60 #32237F #7F2342
split-complementary
#707F23 #23427F #60237F
monochromatic
#1B1F09 #464F16 #707F23 #9AAF30 #B9CE4E

Accessibility & contrast

On white

4.42
#707F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#707F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #707F23
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707F23#FFFFFF#000000##000000
##707F231.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887814
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#77786D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #707f23;
/* rgb */ color: rgb(112, 127, 35);
/* oklch */ color: oklch(56.6% 0.116 118.3);
Tailwind
colors: {
  custom: {
    50: '#9ca464',
    500: '#707f23',
    950: '#000000',
  },
}
SCSS
$custom: #707f23;
$custom-light: #9ca464;
$custom-dark: #000000;
JSON
{
  "hex": "#707f23",
  "rgb": {
    "r": 112,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 69.783,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56596,
    "c": 0.1159,
    "h": 118.3
  },
  "luminance": 0.18745
}

Semantic roles & 50–950 ramp

primary
#707F23
secondary
#5D4CB1
accent
#48E061
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #707F23

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

Preview Lab → · Contrast checker → · Palette generator →

#707F23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva