#727818#727818

#727818 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.0% C 0.114 H 113.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#727818
RGBrgb(114, 120, 24)
HSLhsl(64, 67%, 28%)
HSVhsv(64, 80%, 47%)
CMYKcmyk(5%, 0%, 80%, 52.9%)
CIE-LABlab(48.36, -14.47, 47.78)
CIE-LCHlch(48.36, 49.92, 106.85°)
OKLaboklab(54.98% -0.0449 0.1045)
OKLCHoklch(54.98% 0.114 113.3)
XYZxyz(13.8212, 17.0766, 3.4320)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727818 #1E1878
analogous
#784E18 #727818 #427818
triadic
#727818 #187278 #781872
tetradic
#727818 #18784E #1E1878 #781842
square
#727818 #18784E #1E1878 #781842
split-complementary
#727818 #184278 #4E1878
monochromatic
#181A05 #42450E #727818 #A2AB22 #CCD634

Accessibility & contrast

On white

4.76
#727818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#727818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #727818
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727818#FFFFFF#000000##FFFFFF
##7278181.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#7A7066
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #727818;
/* rgb */ color: rgb(114, 120, 24);
/* oklch */ color: oklch(55.0% 0.114 113.3);
Tailwind
colors: {
  custom: {
    50: '#9e9e5e',
    500: '#727818',
    950: '#000000',
  },
}
SCSS
$custom: #727818;
$custom-light: #9e9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#727818",
  "rgb": {
    "r": 114,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 63.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54984,
    "c": 0.11372,
    "h": 113.3
  },
  "luminance": 0.17076
}

Semantic roles & 50–950 ramp

primary
#727818
secondary
#463FAD
accent
#3EEA49
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #727818

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

Preview Lab → · Contrast checker → · Palette generator →

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