#708118#708118

#708118 is a mid, vivid yellow. Relative luminance 0.192; OKLCH L 57.0% C 0.125 H 118.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#708118
RGBrgb(112, 129, 24)
HSLhsl(70, 69%, 30%)
HSVhsv(70, 81%, 51%)
CMYKcmyk(13.2%, 0%, 81.4%, 49.4%)
CIE-LABlab(50.93, -20.13, 50.06)
CIE-LCHlch(50.93, 53.95, 111.91°)
OKLaboklab(57.02% -0.0604 0.1094)
OKLCHoklch(57.02% 0.125 118.9)
XYZxyz(14.6976, 19.2113, 3.7979)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708118 #291881
analogous
#815D18 #708118 #3C8118
triadic
#708118 #187081 #811870
tetradic
#708118 #18815D #291881 #81183C
square
#708118 #18815D #291881 #81183C
split-complementary
#708118 #183C81 #5D1881
monochromatic
#161A05 #434D0E #708118 #9DB522 #C0DA39

Accessibility & contrast

On white

4.34
#708118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#708118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #708118
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##708118#FFFFFF#000000##000000
##7081181.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#777A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #708118;
/* rgb */ color: rgb(112, 129, 24);
/* oklch */ color: oklch(57.0% 0.125 118.9);
Tailwind
colors: {
  custom: {
    50: '#9ca55f',
    500: '#708118',
    950: '#000000',
  },
}
SCSS
$custom: #708118;
$custom-light: #9ca55f;
$custom-dark: #000000;
JSON
{
  "hex": "#708118",
  "rgb": {
    "r": 112,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 69.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.57015,
    "c": 0.12497,
    "h": 118.9
  },
  "luminance": 0.19211
}

Semantic roles & 50–950 ramp

primary
#708118
secondary
#5340B5
accent
#3CEB59
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #708118

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

Preview Lab → · Contrast checker → · Palette generator →

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