#766A22#766A22

#766A22 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.1% C 0.092 H 99.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#766A22
RGBrgb(118, 106, 34)
HSLhsl(51, 55%, 30%)
HSVhsv(51, 71%, 46%)
CMYKcmyk(0%, 10.2%, 71.2%, 53.7%)
CIE-LABlab(44.63, -4.27, 40.41)
CIE-LCHlch(44.63, 40.63, 96.03°)
OKLaboklab(52.12% -0.0155 0.0907)
OKLCHoklch(52.12% 0.092 99.7)
XYZxyz(12.9146, 14.2757, 3.5883)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766A22 #222E76
analogous
#764022 #766A22 #587622
triadic
#766A22 #22766A #6A2276
tetradic
#766A22 #227640 #222E76 #762258
square
#766A22 #227640 #222E76 #762258
split-complementary
#766A22 #225876 #402276
monochromatic
#181507 #463F14 #766A22 #A69530 #CAB848

Accessibility & contrast

On white

5.45
#766A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#766A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766A22
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766A22#FFFFFF#000000##FFFFFF
##766A221.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746718
Deuteranopia (green-blind)
#786B26
Tritanopia (blue-blind)
#7F625B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #766a22;
/* rgb */ color: rgb(118, 106, 34);
/* oklch */ color: oklch(52.1% 0.092 99.7);
Tailwind
colors: {
  custom: {
    50: '#a09462',
    500: '#766a22',
    950: '#000000',
  },
}
SCSS
$custom: #766a22;
$custom-light: #a09462;
$custom-dark: #000000;
JSON
{
  "hex": "#766a22",
  "rgb": {
    "r": 118,
    "g": 106,
    "b": 34
  },
  "hsl": {
    "h": 51.429,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52119,
    "c": 0.09196,
    "h": 99.7
  },
  "luminance": 0.14275
}

Semantic roles & 50–950 ramp

primary
#766A22
secondary
#4B58A9
accent
#5FDF49
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #766A22

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

Preview Lab → · Contrast checker → · Palette generator →

#766A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva