#767F1E#767F1E

#767F1E is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.117 H 114.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#767F1E
RGBrgb(118, 127, 30)
HSLhsl(66, 62%, 31%)
HSVhsv(66, 76%, 50%)
CMYKcmyk(7.1%, 0%, 76.4%, 50.2%)
CIE-LABlab(50.83, -16.11, 48.12)
CIE-LCHlch(50.83, 50.74, 108.51°)
OKLaboklab(57.06% -0.0491 0.1062)
OKLCHoklch(57.06% 0.117 114.8)
XYZxyz(15.2954, 19.1243, 4.1137)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767F1E #271E7F
analogous
#7F571E #767F1E #457F1E
triadic
#767F1E #1E767F #7F1E76
tetradic
#767F1E #1E7F57 #271E7F #7F1E45
square
#767F1E #1E7F57 #271E7F #7F1E45
split-complementary
#767F1E #1E457F #571E7F
monochromatic
#1A1C07 #484D12 #767F1E #A4B12A #C6D344

Accessibility & contrast

On white

4.35
#767F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#767F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767F1E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767F1E#FFFFFF#000000##000000
##767F1E1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897809
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#7E776D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #767f1e;
/* rgb */ color: rgb(118, 127, 30);
/* oklch */ color: oklch(57.1% 0.117 114.8);
Tailwind
colors: {
  custom: {
    50: '#a0a462',
    500: '#767f1e',
    950: '#000000',
  },
}
SCSS
$custom: #767f1e;
$custom-light: #a0a462;
$custom-dark: #000000;
JSON
{
  "hex": "#767f1e",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 65.567,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57062,
    "c": 0.117,
    "h": 114.8
  },
  "luminance": 0.19124
}

Semantic roles & 50–950 ramp

primary
#767F1E
secondary
#5147B2
accent
#43E552
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #767F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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