#767012#767012

#767012 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.4% C 0.107 H 105.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#767012
RGBrgb(118, 112, 18)
HSLhsl(56, 74%, 27%)
HSVhsv(56, 85%, 46%)
CMYKcmyk(0%, 5.1%, 84.7%, 53.7%)
CIE-LABlab(46.29, -8.42, 47.97)
CIE-LCHlch(46.29, 48.70, 99.96°)
OKLaboklab(53.41% -0.0288 0.1035)
OKLCHoklch(53.41% 0.107 105.6)
XYZxyz(13.3752, 15.4841, 2.8563)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767012 #121876
analogous
#763E12 #767012 #4A7612
triadic
#767012 #127670 #701276
tetradic
#767012 #12763E #121876 #76124A
square
#767012 #12763E #121876 #76124A
split-complementary
#767012 #124A76 #3E1276
monochromatic
#1B1904 #413E0A #767012 #ABA21A #DED325

Accessibility & contrast

On white

5.13
#767012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#767012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767012
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767012#FFFFFF#000000##FFFFFF
##7670121.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7D6F1B
Tritanopia (blue-blind)
#7F685F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #767012;
/* rgb */ color: rgb(118, 112, 18);
/* oklch */ color: oklch(53.4% 0.107 105.6);
Tailwind
colors: {
  custom: {
    50: '#a1985a',
    500: '#767012',
    950: '#000000',
  },
}
SCSS
$custom: #767012;
$custom-light: #a1985a;
$custom-dark: #000000;
JSON
{
  "hex": "#767012",
  "rgb": {
    "r": 118,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 56.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.53411,
    "c": 0.10745,
    "h": 105.6
  },
  "luminance": 0.15484
}

Semantic roles & 50–950 ramp

primary
#767012
secondary
#373EAD
accent
#43F038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #767012

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

Preview Lab → · Contrast checker → · Palette generator →

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