#707B1A#707B1A

#707B1A is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.6% C 0.117 H 116.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#707B1A
RGBrgb(112, 123, 26)
HSLhsl(67, 65%, 29%)
HSVhsv(67, 79%, 48%)
CMYKcmyk(8.9%, 0%, 78.9%, 51.8%)
CIE-LABlab(49.11, -16.90, 47.74)
CIE-LCHlch(49.11, 50.65, 109.49°)
OKLaboklab(55.55% -0.0514 0.1048)
OKLCHoklch(55.55% 0.117 116.1)
XYZxyz(13.9519, 17.6855, 3.6557)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707B1A #251A7B
analogous
#7B561A #707B1A #407B1A
triadic
#707B1A #1A707B #7B1A70
tetradic
#707B1A #1A7B56 #251A7B #7B1A40
square
#707B1A #1A7B56 #251A7B #7B1A40
split-complementary
#707B1A #1A407B #561A7B
monochromatic
#171905 #42480F #707B1A #9EAE25 #C4D53A

Accessibility & contrast

On white

4.63
#707B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#707B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #707B1A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707B1A#FFFFFF#000000##FFFFFF
##707B1A1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847402
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#787469
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #707b1a;
/* rgb */ color: rgb(112, 123, 26);
/* oklch */ color: oklch(55.6% 0.117 116.1);
Tailwind
colors: {
  custom: {
    50: '#9ca15f',
    500: '#707b1a',
    950: '#000000',
  },
}
SCSS
$custom: #707b1a;
$custom-light: #9ca15f;
$custom-dark: #000000;
JSON
{
  "hex": "#707b1a",
  "rgb": {
    "r": 112,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 66.804,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55553,
    "c": 0.11674,
    "h": 116.1
  },
  "luminance": 0.17685
}

Semantic roles & 50–950 ramp

primary
#707B1A
secondary
#4E42AF
accent
#40E853
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #707B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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