#708117#708117

#708117 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#708117
RGBrgb(112, 129, 23)
HSLhsl(70, 70%, 30%)
HSVhsv(70, 82%, 51%)
CMYKcmyk(13.2%, 0%, 82.2%, 49.4%)
CIE-LABlab(50.93, -20.18, 50.36)
CIE-LCHlch(50.93, 54.25, 111.83°)
OKLaboklab(57.01% -0.0606 0.1099)
OKLCHoklch(57.01% 0.125 118.9)
XYZxyz(14.6873, 19.2072, 3.7441)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708117 #281781
analogous
#815D17 #708117 #3B8117
triadic
#708117 #177081 #811770
tetradic
#708117 #17815D #281781 #81173B
square
#708117 #17815D #281781 #81173B
split-complementary
#708117 #173B81 #5D1781
monochromatic
#171A05 #434D0E #708117 #9DB520 #C1DB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##708117#FFFFFF#000000##000000
##7081171.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)
#77796E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #708117;
/* rgb */ color: rgb(112, 129, 23);
/* oklch */ color: oklch(57.0% 0.125 118.9);
Tailwind
colors: {
  custom: {
    50: '#9ca55f',
    500: '#708117',
    950: '#000000',
  },
}
SCSS
$custom: #708117;
$custom-light: #9ca55f;
$custom-dark: #000000;
JSON
{
  "hex": "#708117",
  "rgb": {
    "r": 112,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 69.623,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57009,
    "c": 0.12547,
    "h": 118.9
  },
  "luminance": 0.19207
}

Semantic roles & 50–950 ramp

primary
#708117
secondary
#513EB5
accent
#3BED58
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #708117

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

Preview Lab → · Contrast checker → · Palette generator →

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