#767F28#767F28

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

Color values

HEX#767F28
RGBrgb(118, 127, 40)
HSLhsl(66, 52%, 33%)
HSVhsv(66, 69%, 50%)
CMYKcmyk(7.1%, 0%, 68.5%, 50.2%)
CIE-LABlab(50.90, -15.53, 44.23)
CIE-LCHlch(50.90, 46.87, 109.35°)
OKLaboklab(57.14% -0.0465 0.0998)
OKLCHoklch(57.14% 0.11 115)
XYZxyz(15.4440, 19.1838, 4.8963)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767F28 #31287F
analogous
#7F5C28 #767F28 #4A7F28
triadic
#767F28 #28767F #7F2876
tetradic
#767F28 #287F5C #31287F #7F284A
square
#767F28 #287F5C #31287F #7F284A
split-complementary
#767F28 #284A7F #5C287F
monochromatic
#20220B #4B5019 #767F28 #A1AE37 #BECA57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##767F28#FFFFFF#000000##000000
##767F281.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)
#88791C
Deuteranopia (green-blind)
#887A2E
Tritanopia (blue-blind)
#7E786D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #767f28;
/* rgb */ color: rgb(118, 127, 40);
/* oklch */ color: oklch(57.1% 0.110 115.0);
Tailwind
colors: {
  custom: {
    50: '#a0a467',
    500: '#767f28',
    950: '#000000',
  },
}
SCSS
$custom: #767f28;
$custom-light: #a0a467;
$custom-dark: #000000;
JSON
{
  "hex": "#767f28",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 66.207,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5714,
    "c": 0.11007,
    "h": 115
  },
  "luminance": 0.19183
}

Semantic roles & 50–950 ramp

primary
#767F28
secondary
#5D54AF
accent
#4CDC5B
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #767F28

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

Preview Lab → · Contrast checker → · Palette generator →

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