#767312#767312

#767312 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.1% C 0.110 H 107.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#767312
RGBrgb(118, 115, 18)
HSLhsl(58, 74%, 27%)
HSVhsv(58, 85%, 46%)
CMYKcmyk(0%, 2.5%, 84.7%, 53.7%)
CIE-LABlab(47.18, -10.09, 48.74)
CIE-LCHlch(47.18, 49.77, 101.70°)
OKLaboklab(54.12% -0.0335 0.1052)
OKLCHoklch(54.12% 0.11 107.7)
XYZxyz(13.7117, 16.1572, 2.9685)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767312 #121576
analogous
#764112 #767312 #477612
triadic
#767312 #127673 #731276
tetradic
#767312 #127641 #121576 #761247
square
#767312 #127641 #121576 #761247
split-complementary
#767312 #124776 #411276
monochromatic
#1B1A04 #413F0A #767312 #ABA71A #DED825

Accessibility & contrast

On white

4.96
#767312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#767312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767312
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767312#FFFFFF#000000##FFFFFF
##7673121.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7F711B
Tritanopia (blue-blind)
#7F6B62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #767312;
/* rgb */ color: rgb(118, 115, 18);
/* oklch */ color: oklch(54.1% 0.110 107.7);
Tailwind
colors: {
  custom: {
    50: '#a19b5b',
    500: '#767312',
    950: '#000000',
  },
}
SCSS
$custom: #767312;
$custom-light: #a19b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#767312",
  "rgb": {
    "r": 118,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 58.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.5412,
    "c": 0.11037,
    "h": 107.7
  },
  "luminance": 0.16157
}

Semantic roles & 50–950 ramp

primary
#767312
secondary
#373BAD
accent
#3DF038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #767312

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

Preview Lab → · Contrast checker → · Palette generator →

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