#707A1B#707A1B

#707A1B is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.3% C 0.115 H 115.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#707A1B
RGBrgb(112, 122, 27)
HSLhsl(66, 64%, 29%)
HSVhsv(66, 78%, 48%)
CMYKcmyk(8.2%, 0%, 77.9%, 52.2%)
CIE-LABlab(48.81, -16.32, 47.12)
CIE-LCHlch(48.81, 49.86, 109.11°)
OKLaboklab(55.32% -0.0497 0.1037)
OKLCHoklch(55.32% 0.115 115.6)
XYZxyz(13.8398, 17.4432, 3.6745)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707A1B #251B7A
analogous
#7A551B #707A1B #417A1B
triadic
#707A1B #1B707A #7A1B70
tetradic
#707A1B #1B7A55 #251B7A #7A1B41
square
#707A1B #1B7A55 #251B7A #7A1B41
split-complementary
#707A1B #1B417A #551B7A
monochromatic
#171906 #424810 #707A1B #9EAC26 #C4D43C

Accessibility & contrast

On white

4.68
#707A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#707A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #707A1B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707A1B#FFFFFF#000000##FFFFFF
##707A1B1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837305
Deuteranopia (green-blind)
#827523
Tritanopia (blue-blind)
#787368
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #707a1b;
/* rgb */ color: rgb(112, 122, 27);
/* oklch */ color: oklch(55.3% 0.115 115.6);
Tailwind
colors: {
  custom: {
    50: '#9ca060',
    500: '#707a1b',
    950: '#000000',
  },
}
SCSS
$custom: #707a1b;
$custom-light: #9ca060;
$custom-dark: #000000;
JSON
{
  "hex": "#707a1b",
  "rgb": {
    "r": 112,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 66.316,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55315,
    "c": 0.11499,
    "h": 115.6
  },
  "luminance": 0.17443
}

Semantic roles & 50–950 ramp

primary
#707A1B
secondary
#4E43AE
accent
#41E752
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #707A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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