#767C1C#767C1C

#767C1C is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.3% C 0.115 H 113.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#767C1C
RGBrgb(118, 124, 28)
HSLhsl(64, 63%, 30%)
HSVhsv(64, 77%, 49%)
CMYKcmyk(4.8%, 0%, 77.4%, 51.4%)
CIE-LABlab(49.92, -14.60, 47.97)
CIE-LCHlch(49.92, 50.15, 106.93°)
OKLaboklab(56.33% -0.0452 0.1055)
OKLCHoklch(56.33% 0.115 113.2)
XYZxyz(14.8889, 18.3510, 3.8562)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767C1C #221C7C
analogous
#7C521C #767C1C #467C1C
triadic
#767C1C #1C767C #7C1C76
tetradic
#767C1C #1C7C52 #221C7C #7C1C46
square
#767C1C #1C7C52 #221C7C #7C1C46
split-complementary
#767C1C #1C467C #521C7C
monochromatic
#181906 #464A11 #767C1C #A6AE27 #CAD43F

Accessibility & contrast

On white

4.50
#767C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#767C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767C1C
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767C1C#FFFFFF#000000##000000
##767C1C1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867606
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#7E746A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #767c1c;
/* rgb */ color: rgb(118, 124, 28);
/* oklch */ color: oklch(56.3% 0.115 113.2);
Tailwind
colors: {
  custom: {
    50: '#a1a161',
    500: '#767c1c',
    950: '#000000',
  },
}
SCSS
$custom: #767c1c;
$custom-light: #a1a161;
$custom-dark: #000000;
JSON
{
  "hex": "#767c1c",
  "rgb": {
    "r": 118,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 63.75,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56326,
    "c": 0.11476,
    "h": 113.2
  },
  "luminance": 0.18351
}

Semantic roles & 50–950 ramp

primary
#767C1C
secondary
#4B44B0
accent
#42E64C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #767C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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