#727918#727918

#727918 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.2% C 0.115 H 113.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#727918
RGBrgb(114, 121, 24)
HSLhsl(64, 67%, 28%)
HSVhsv(64, 80%, 47%)
CMYKcmyk(5.8%, 0%, 80.2%, 52.5%)
CIE-LABlab(48.66, -15.01, 48.06)
CIE-LCHlch(48.66, 50.35, 107.34°)
OKLaboklab(55.23% -0.0464 0.1051)
OKLCHoklch(55.23% 0.115 113.8)
XYZxyz(13.9421, 17.3184, 3.4723)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727918 #1F1879
analogous
#794F18 #727918 #417918
triadic
#727918 #187279 #791872
tetradic
#727918 #18794F #1F1879 #791841
square
#727918 #18794F #1F1879 #791841
split-complementary
#727918 #184179 #4F1879
monochromatic
#181A05 #42460E #727918 #A2AC22 #CBD735

Accessibility & contrast

On white

4.70
#727918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#727918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #727918
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727918#FFFFFF#000000##FFFFFF
##7279181.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#7A7167
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #727918;
/* rgb */ color: rgb(114, 121, 24);
/* oklch */ color: oklch(55.2% 0.115 113.8);
Tailwind
colors: {
  custom: {
    50: '#9e9f5e',
    500: '#727918',
    950: '#000000',
  },
}
SCSS
$custom: #727918;
$custom-light: #9e9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#727918",
  "rgb": {
    "r": 114,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 64.33,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55226,
    "c": 0.11485,
    "h": 113.8
  },
  "luminance": 0.17318
}

Semantic roles & 50–950 ramp

primary
#727918
secondary
#473FAE
accent
#3EEA4A
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #727918

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

Preview Lab → · Contrast checker → · Palette generator →

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