#708018#708018

#708018 is a mid, vivid yellow. Relative luminance 0.189; OKLCH L 56.8% C 0.124 H 118.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#708018
RGBrgb(112, 128, 24)
HSLhsl(69, 68%, 30%)
HSVhsv(69, 81%, 50%)
CMYKcmyk(12.5%, 0%, 81.3%, 49.8%)
CIE-LABlab(50.63, -19.62, 49.78)
CIE-LCHlch(50.63, 53.51, 111.51°)
OKLaboklab(56.77% -0.059 0.1088)
OKLCHoklch(56.77% 0.124 118.5)
XYZxyz(14.5665, 18.9492, 3.7542)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708018 #281880
analogous
#805C18 #708018 #3C8018
triadic
#708018 #187080 #801870
tetradic
#708018 #18805C #281880 #80183C
square
#708018 #18805C #281880 #80183C
split-complementary
#708018 #183C80 #5C1880
monochromatic
#171A05 #434C0E #708018 #9DB422 #C1DA39

Accessibility & contrast

On white

4.38
#708018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#708018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #708018
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##708018#FFFFFF#000000##000000
##7080181.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#77796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #708018;
/* rgb */ color: rgb(112, 128, 24);
/* oklch */ color: oklch(56.8% 0.124 118.5);
Tailwind
colors: {
  custom: {
    50: '#9ca45f',
    500: '#708018',
    950: '#000000',
  },
}
SCSS
$custom: #708018;
$custom-light: #9ca45f;
$custom-dark: #000000;
JSON
{
  "hex": "#708018",
  "rgb": {
    "r": 112,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 69.231,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56768,
    "c": 0.12377,
    "h": 118.5
  },
  "luminance": 0.18949
}

Semantic roles & 50–950 ramp

primary
#708018
secondary
#5140B4
accent
#3DEB57
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #708018

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

Preview Lab → · Contrast checker → · Palette generator →

#708018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva