#726812#726812

#726812 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 51.1% C 0.101 H 102.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#726812
RGBrgb(114, 104, 18)
HSLhsl(54, 73%, 26%)
HSVhsv(54, 84%, 45%)
CMYKcmyk(0%, 8.8%, 84.2%, 55.3%)
CIE-LABlab(43.54, -5.81, 45.43)
CIE-LCHlch(43.54, 45.80, 97.29°)
OKLaboklab(51.13% -0.0213 0.0982)
OKLCHoklch(51.13% 0.101 102.2)
XYZxyz(11.9995, 13.5223, 2.5501)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#726812 #121C72
analogous
#723812 #726812 #4C7212
triadic
#726812 #127268 #681272
tetradic
#726812 #127238 #121C72 #72124C
square
#726812 #127238 #121C72 #72124C
split-complementary
#726812 #124C72 #381272
monochromatic
#1A1804 #3D380A #726812 #A7981A #DCC823

Accessibility & contrast

On white

5.67
#726812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#726812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #726812
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##726812#FFFFFF#000000##FFFFFF
##7268121.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736400
Deuteranopia (green-blind)
#766919
Tritanopia (blue-blind)
#7B6058
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #726812;
/* rgb */ color: rgb(114, 104, 18);
/* oklch */ color: oklch(51.1% 0.101 102.2);
Tailwind
colors: {
  custom: {
    50: '#9e9259',
    500: '#726812',
    950: '#000000',
  },
}
SCSS
$custom: #726812;
$custom-light: #9e9259;
$custom-dark: #000000;
JSON
{
  "hex": "#726812",
  "rgb": {
    "r": 114,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 53.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.5113,
    "c": 0.10051,
    "h": 102.2
  },
  "luminance": 0.13522
}

Semantic roles & 50–950 ramp

primary
#726812
secondary
#3743A9
accent
#4BEF38
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0D04
muted
#7F7D79

Preview Lab

Preview with #726812

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

Preview Lab → · Contrast checker → · Palette generator →

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