#707B1C#707B1C

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

Color values

HEX#707B1C
RGBrgb(112, 123, 28)
HSLhsl(67, 63%, 30%)
HSVhsv(67, 77%, 48%)
CMYKcmyk(8.9%, 0%, 77.2%, 51.8%)
CIE-LABlab(49.12, -16.80, 47.05)
CIE-LCHlch(49.12, 49.96, 109.65°)
OKLaboklab(55.57% -0.0509 0.1038)
OKLCHoklch(55.57% 0.116 116.1)
XYZxyz(13.9750, 17.6947, 3.7776)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707B1C #271C7B
analogous
#7B561C #707B1C #417B1C
triadic
#707B1C #1C707B #7B1C70
tetradic
#707B1C #1C7B56 #271C7B #7B1C41
square
#707B1C #1C7B56 #271C7B #7B1C41
split-complementary
#707B1C #1C417B #561C7B
monochromatic
#171906 #434911 #707B1C #9DAD27 #C2D33E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##707B1C#FFFFFF#000000##FFFFFF
##707B1C1.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)
#847407
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#787469
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #707b1c;
/* rgb */ color: rgb(112, 123, 28);
/* oklch */ color: oklch(55.6% 0.116 116.1);
Tailwind
colors: {
  custom: {
    50: '#9ca160',
    500: '#707b1c',
    950: '#000000',
  },
}
SCSS
$custom: #707b1c;
$custom-light: #9ca160;
$custom-dark: #000000;
JSON
{
  "hex": "#707b1c",
  "rgb": {
    "r": 112,
    "g": 123,
    "b": 28
  },
  "hsl": {
    "h": 66.947,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55566,
    "c": 0.11558,
    "h": 116.1
  },
  "luminance": 0.17695
}

Semantic roles & 50–950 ramp

primary
#707B1C
secondary
#5044AF
accent
#42E655
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #707B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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