#767F2D#767F2D

#767F2D is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.106 H 115.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#767F2D
RGBrgb(118, 127, 45)
HSLhsl(67, 48%, 34%)
HSVhsv(67, 65%, 50%)
CMYKcmyk(7.1%, 0%, 64.6%, 50.2%)
CIE-LABlab(50.94, -15.18, 42.06)
CIE-LCHlch(50.94, 44.71, 109.84°)
OKLaboklab(57.19% -0.045 0.096)
OKLCHoklch(57.19% 0.106 115.1)
XYZxyz(15.5346, 19.2200, 5.3736)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767F2D #362D7F
analogous
#7F5F2D #767F2D #4D7F2D
triadic
#767F2D #2D767F #7F2D76
tetradic
#767F2D #2D7F5F #362D7F #7F2D4D
square
#767F2D #2D7F5F #362D7F #7F2D4D
split-complementary
#767F2D #2D4D7F #5F2D7F
monochromatic
#22250D #4C521D #767F2D #A0AC3D #BBC760

Accessibility & contrast

On white

4.34
#767F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#767F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767F2D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767F2D#FFFFFF#000000##000000
##767F2D1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887923
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#7D786E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #767f2d;
/* rgb */ color: rgb(118, 127, 45);
/* oklch */ color: oklch(57.2% 0.106 115.1);
Tailwind
colors: {
  custom: {
    50: '#a0a46a',
    500: '#767f2d',
    950: '#000000',
  },
}
SCSS
$custom: #767f2d;
$custom-light: #a0a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#767f2d",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 66.585,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57187,
    "c": 0.106,
    "h": 115.1
  },
  "luminance": 0.1922
}

Semantic roles & 50–950 ramp

primary
#767F2D
secondary
#645BAD
accent
#51D75F
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #767F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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