#767412#767412

#767412 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.4% C 0.111 H 108.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#767412
RGBrgb(118, 116, 18)
HSLhsl(59, 74%, 27%)
HSVhsv(59, 85%, 46%)
CMYKcmyk(0%, 1.7%, 84.7%, 53.7%)
CIE-LABlab(47.48, -10.65, 48.99)
CIE-LCHlch(47.48, 50.14, 102.26°)
OKLaboklab(54.36% -0.035 0.1057)
OKLCHoklch(54.36% 0.111 108.3)
XYZxyz(13.8264, 16.3865, 3.0067)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767412 #121476
analogous
#764212 #767412 #467612
triadic
#767412 #127674 #741276
tetradic
#767412 #127642 #121476 #761246
square
#767412 #127642 #121476 #761246
split-complementary
#767412 #124676 #421276
monochromatic
#1B1A04 #41400A #767412 #ABA81A #DEDA25

Accessibility & contrast

On white

4.91
#767412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#767412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767412
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767412#FFFFFF#000000##FFFFFF
##7674121.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#80721B
Tritanopia (blue-blind)
#7F6C62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #767412;
/* rgb */ color: rgb(118, 116, 18);
/* oklch */ color: oklch(54.4% 0.111 108.3);
Tailwind
colors: {
  custom: {
    50: '#a19b5b',
    500: '#767412',
    950: '#000000',
  },
}
SCSS
$custom: #767412;
$custom-light: #a19b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#767412",
  "rgb": {
    "r": 118,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 58.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.54358,
    "c": 0.11137,
    "h": 108.3
  },
  "luminance": 0.16386
}

Semantic roles & 50–950 ramp

primary
#767412
secondary
#373AAD
accent
#3BF038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #767412

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

Preview Lab → · Contrast checker → · Palette generator →

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