#767A1F#767A1F

#767A1F is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 55.9% C 0.111 H 112.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#767A1F
RGBrgb(118, 122, 31)
HSLhsl(63, 59%, 30%)
HSVhsv(63, 75%, 48%)
CMYKcmyk(3.3%, 0%, 74.6%, 52.2%)
CIE-LABlab(49.34, -13.37, 46.32)
CIE-LCHlch(49.34, 48.21, 106.10°)
OKLaboklab(55.87% -0.0414 0.1026)
OKLCHoklch(55.87% 0.111 112)
XYZxyz(14.6785, 17.8699, 3.9721)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767A1F #231F7A
analogous
#7A501F #767A1F #497A1F
triadic
#767A1F #1F767A #7A1F76
tetradic
#767A1F #1F7A50 #231F7A #7A1F49
square
#767A1F #1F7A50 #231F7A #7A1F49
split-complementary
#767A1F #1F497A #501F7A
monochromatic
#181806 #474913 #767A1F #A5AB2B #C9CF44

Accessibility & contrast

On white

4.59
#767A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#767A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #767A1F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767A1F#FFFFFF#000000##FFFFFF
##767A1F1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740E
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#7E7268
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #767a1f;
/* rgb */ color: rgb(118, 122, 31);
/* oklch */ color: oklch(55.9% 0.111 112.0);
Tailwind
colors: {
  custom: {
    50: '#a0a062',
    500: '#767a1f',
    950: '#000000',
  },
}
SCSS
$custom: #767a1f;
$custom-light: #a0a062;
$custom-dark: #000000;
JSON
{
  "hex": "#767a1f",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 62.637,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.55867,
    "c": 0.11063,
    "h": 112
  },
  "luminance": 0.1787
}

Semantic roles & 50–950 ramp

primary
#767A1F
secondary
#4C47AD
accent
#45E34C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #767A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#767A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva