#767D1C#767D1C

#767D1C is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.6% C 0.116 H 113.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#767D1C
RGBrgb(118, 125, 28)
HSLhsl(64, 63%, 30%)
HSVhsv(64, 78%, 49%)
CMYKcmyk(5.6%, 0%, 77.6%, 51%)
CIE-LABlab(50.22, -15.14, 48.25)
CIE-LCHlch(50.22, 50.57, 107.42°)
OKLaboklab(56.57% -0.0466 0.1061)
OKLCHoklch(56.57% 0.116 113.7)
XYZxyz(15.0149, 18.6029, 3.8982)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767D1C #231C7D
analogous
#7D541C #767D1C #457D1C
triadic
#767D1C #1C767D #7D1C76
tetradic
#767D1C #1C7D54 #231C7D #7D1C45
square
#767D1C #1C7D54 #231C7D #7D1C45
split-complementary
#767D1C #1C457D #541C7D
monochromatic
#181906 #474B11 #767D1C #A5AF27 #C9D43F

Accessibility & contrast

On white

4.45
#767D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#767D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767D1C
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767D1C#FFFFFF#000000##000000
##767D1C1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877705
Deuteranopia (green-blind)
#877824
Tritanopia (blue-blind)
#7E756B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #767d1c;
/* rgb */ color: rgb(118, 125, 28);
/* oklch */ color: oklch(56.6% 0.116 113.7);
Tailwind
colors: {
  custom: {
    50: '#a1a261',
    500: '#767d1c',
    950: '#000000',
  },
}
SCSS
$custom: #767d1c;
$custom-light: #a1a261;
$custom-dark: #000000;
JSON
{
  "hex": "#767d1c",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 64.33,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.56567,
    "c": 0.11589,
    "h": 113.7
  },
  "luminance": 0.18603
}

Semantic roles & 50–950 ramp

primary
#767D1C
secondary
#4C44B1
accent
#41E64D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #767D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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