#767512#767512

#767512 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.6% C 0.112 H 109.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#767512
RGBrgb(118, 117, 18)
HSLhsl(59, 74%, 27%)
HSVhsv(59, 85%, 46%)
CMYKcmyk(0%, 0.8%, 84.7%, 53.7%)
CIE-LABlab(47.78, -11.20, 49.25)
CIE-LCHlch(47.78, 50.51, 102.81°)
OKLaboklab(54.6% -0.0366 0.1063)
OKLCHoklch(54.6% 0.112 109)
XYZxyz(13.9422, 16.6183, 3.0454)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767512 #121376
analogous
#764312 #767512 #457612
triadic
#767512 #127675 #751276
tetradic
#767512 #127643 #121376 #761245
square
#767512 #127643 #121376 #761245
split-complementary
#767512 #124576 #431276
monochromatic
#1B1A04 #41400A #767512 #ABAA1A #DEDC25

Accessibility & contrast

On white

4.86
#767512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#767512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767512
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767512#FFFFFF#000000##FFFFFF
##7675121.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#81731C
Tritanopia (blue-blind)
#7F6D63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #767512;
/* rgb */ color: rgb(118, 117, 18);
/* oklch */ color: oklch(54.6% 0.112 109.0);
Tailwind
colors: {
  custom: {
    50: '#a19c5b',
    500: '#767512',
    950: '#000000',
  },
}
SCSS
$custom: #767512;
$custom-light: #a19c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#767512",
  "rgb": {
    "r": 118,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 59.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.54595,
    "c": 0.11238,
    "h": 109
  },
  "luminance": 0.16618
}

Semantic roles & 50–950 ramp

primary
#767512
secondary
#3738AD
accent
#39F038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #767512

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

Preview Lab → · Contrast checker → · Palette generator →

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