#767B1F#767B1F

#767B1F is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.1% C 0.112 H 112.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#767B1F
RGBrgb(118, 123, 31)
HSLhsl(63, 60%, 30%)
HSVhsv(63, 75%, 48%)
CMYKcmyk(4.1%, 0%, 74.8%, 51.8%)
CIE-LABlab(49.64, -13.91, 46.61)
CIE-LCHlch(49.64, 48.64, 106.62°)
OKLaboklab(56.11% -0.0429 0.1032)
OKLCHoklch(56.11% 0.112 112.6)
XYZxyz(14.8020, 18.1167, 4.0132)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767B1F #241F7B
analogous
#7B521F #767B1F #487B1F
triadic
#767B1F #1F767B #7B1F76
tetradic
#767B1F #1F7B52 #241F7B #7B1F48
square
#767B1F #1F7B52 #241F7B #7B1F48
split-complementary
#767B1F #1F487B #521F7B
monochromatic
#181906 #474A13 #767B1F #A5AC2B #C8D044

Accessibility & contrast

On white

4.54
#767B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#767B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767B1F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767B1F#FFFFFF#000000##000000
##767B1F1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85750D
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#7E7369
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #767b1f;
/* rgb */ color: rgb(118, 123, 31);
/* oklch */ color: oklch(56.1% 0.112 112.6);
Tailwind
colors: {
  custom: {
    50: '#a0a162',
    500: '#767b1f',
    950: '#000000',
  },
}
SCSS
$custom: #767b1f;
$custom-light: #a0a162;
$custom-dark: #000000;
JSON
{
  "hex": "#767b1f",
  "rgb": {
    "r": 118,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 63.261,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56106,
    "c": 0.11176,
    "h": 112.6
  },
  "luminance": 0.18116
}

Semantic roles & 50–950 ramp

primary
#767B1F
secondary
#4D48AE
accent
#45E34D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #767B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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