#747212#747212

#747212 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.7% C 0.110 H 108.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#747212
RGBrgb(116, 114, 18)
HSLhsl(59, 73%, 26%)
HSVhsv(59, 84%, 45%)
CMYKcmyk(0%, 1.7%, 84.5%, 54.5%)
CIE-LABlab(46.70, -10.49, 48.25)
CIE-LCHlch(46.70, 49.38, 102.26°)
OKLaboklab(53.69% -0.0345 0.1042)
OKLCHoklch(53.69% 0.11 108.3)
XYZxyz(13.3295, 15.7918, 2.9181)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747212 #121474
analogous
#744112 #747212 #457412
triadic
#747212 #127472 #721274
tetradic
#747212 #127441 #121474 #741245
square
#747212 #127441 #121474 #741245
split-complementary
#747212 #124574 #411274
monochromatic
#1A1A04 #3F3E0A #747212 #A9A61A #DDD923

Accessibility & contrast

On white

5.05
#747212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#747212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #747212
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747212#FFFFFF#000000##FFFFFF
##7472121.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7E701B
Tritanopia (blue-blind)
#7D6A61
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #747212;
/* rgb */ color: rgb(116, 114, 18);
/* oklch */ color: oklch(53.7% 0.110 108.3);
Tailwind
colors: {
  custom: {
    50: '#9f9a5b',
    500: '#747212',
    950: '#000000',
  },
}
SCSS
$custom: #747212;
$custom-light: #9f9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#747212",
  "rgb": {
    "r": 116,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 58.776,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.53693,
    "c": 0.10977,
    "h": 108.3
  },
  "luminance": 0.15791
}

Semantic roles & 50–950 ramp

primary
#747212
secondary
#3739AB
accent
#3CF038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #747212

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

Preview Lab → · Contrast checker → · Palette generator →

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