#707F1C#707F1C

#707F1C is a mid, vivid yellow. Relative luminance 0.187; OKLCH L 56.5% C 0.120 H 118.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#707F1C
RGBrgb(112, 127, 28)
HSLhsl(69, 64%, 30%)
HSVhsv(69, 78%, 50%)
CMYKcmyk(11.8%, 0%, 78%, 50.2%)
CIE-LABlab(50.34, -18.91, 48.20)
CIE-LCHlch(50.34, 51.77, 111.42°)
OKLaboklab(56.55% -0.0567 0.1062)
OKLCHoklch(56.55% 0.12 118.1)
XYZxyz(14.4814, 18.7075, 3.9464)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707F1C #2B1C7F
analogous
#7F5C1C #707F1C #3E7F1C
triadic
#707F1C #1C707F #7F1C70
tetradic
#707F1C #1C7F5C #2B1C7F #7F1C3E
square
#707F1C #1C7F5C #2B1C7F #7F1C3E
split-complementary
#707F1C #1C3E7F #5C1C7F
monochromatic
#181B06 #444D11 #707F1C #9CB127 #BED540

Accessibility & contrast

On white

4.43
#707F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#707F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #707F1C
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707F1C#FFFFFF#000000##000000
##707F1C1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887805
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#77786C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #707f1c;
/* rgb */ color: rgb(112, 127, 28);
/* oklch */ color: oklch(56.5% 0.120 118.1);
Tailwind
colors: {
  custom: {
    50: '#9ca461',
    500: '#707f1c',
    950: '#000000',
  },
}
SCSS
$custom: #707f1c;
$custom-light: #9ca461;
$custom-dark: #000000;
JSON
{
  "hex": "#707f1c",
  "rgb": {
    "r": 112,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 69.091,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56546,
    "c": 0.12039,
    "h": 118.1
  },
  "luminance": 0.18707
}

Semantic roles & 50–950 ramp

primary
#707F1C
secondary
#5544B3
accent
#41E75A
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #707F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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