#707D18#707D18

#707D18 is a mid, vivid yellow. Relative luminance 0.182; OKLCH L 56.0% C 0.120 H 117.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#707D18
RGBrgb(112, 125, 24)
HSLhsl(68, 68%, 29%)
HSVhsv(68, 81%, 49%)
CMYKcmyk(10.4%, 0%, 80.8%, 51%)
CIE-LABlab(49.71, -18.05, 48.95)
CIE-LCHlch(49.71, 52.17, 110.24°)
OKLaboklab(56.03% -0.0547 0.107)
OKLCHoklch(56.03% 0.12 117.1)
XYZxyz(14.1809, 18.1781, 3.6257)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707D18 #25187D
analogous
#7D5818 #707D18 #3E7D18
triadic
#707D18 #18707D #7D1870
tetradic
#707D18 #187D58 #25187D #7D183E
square
#707D18 #187D58 #25187D #7D183E
split-complementary
#707D18 #183E7D #58187D
monochromatic
#171A05 #424A0E #707D18 #9EB022 #C4D937

Accessibility & contrast

On white

4.53
#707D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#707D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #707D18
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707D18#FFFFFF#000000##000000
##707D181.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#77766A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #707d18;
/* rgb */ color: rgb(112, 125, 24);
/* oklch */ color: oklch(56.0% 0.120 117.1);
Tailwind
colors: {
  custom: {
    50: '#9ca25f',
    500: '#707d18',
    950: '#000000',
  },
}
SCSS
$custom: #707d18;
$custom-light: #9ca25f;
$custom-dark: #000000;
JSON
{
  "hex": "#707d18",
  "rgb": {
    "r": 112,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 67.723,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56031,
    "c": 0.12021,
    "h": 117.1
  },
  "luminance": 0.18178
}

Semantic roles & 50–950 ramp

primary
#707D18
secondary
#4E3FB2
accent
#3DEB53
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0F05
muted
#7E7E79

Preview Lab

Preview with #707D18

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

Preview Lab → · Contrast checker → · Palette generator →

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