#767F1C#767F1C

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

Color values

HEX#767F1C
RGBrgb(118, 127, 28)
HSLhsl(65, 64%, 30%)
HSVhsv(65, 78%, 50%)
CMYKcmyk(7.1%, 0%, 78%, 50.2%)
CIE-LABlab(50.82, -16.20, 48.81)
CIE-LCHlch(50.82, 51.43, 108.36°)
OKLaboklab(57.05% -0.0496 0.1073)
OKLCHoklch(57.05% 0.118 114.8)
XYZxyz(15.2706, 19.1144, 3.9834)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767F1C #251C7F
analogous
#7F571C #767F1C #447F1C
triadic
#767F1C #1C767F #7F1C76
tetradic
#767F1C #1C7F57 #251C7F #7F1C44
square
#767F1C #1C7F57 #251C7F #7F1C44
split-complementary
#767F1C #1C447F #571C7F
monochromatic
#191B06 #474D11 #767F1C #A5B127 #C7D540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##767F1C#FFFFFF#000000##000000
##767F1C1.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)
#897804
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#7E776C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #767f1c;
/* rgb */ color: rgb(118, 127, 28);
/* oklch */ color: oklch(57.0% 0.118 114.8);
Tailwind
colors: {
  custom: {
    50: '#a1a461',
    500: '#767f1c',
    950: '#000000',
  },
}
SCSS
$custom: #767f1c;
$custom-light: #a1a461;
$custom-dark: #000000;
JSON
{
  "hex": "#767f1c",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 65.455,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57049,
    "c": 0.11819,
    "h": 114.8
  },
  "luminance": 0.19114
}

Semantic roles & 50–950 ramp

primary
#767F1C
secondary
#4E44B3
accent
#41E750
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #767F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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