#767227#767227

#767227 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.0% C 0.096 H 106.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#767227
RGBrgb(118, 114, 39)
HSLhsl(57, 50%, 31%)
HSVhsv(57, 67%, 46%)
CMYKcmyk(0%, 3.4%, 66.9%, 53.7%)
CIE-LABlab(47.02, -8.48, 40.63)
CIE-LCHlch(47.02, 41.50, 101.80°)
OKLaboklab(54.03% -0.0268 0.092)
OKLCHoklch(54.03% 0.096 106.3)
XYZxyz(13.8552, 16.0331, 4.2839)
Luminance0.1603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767227 #272B76
analogous
#764A27 #767227 #527627
triadic
#767227 #277672 #722776
tetradic
#767227 #27764A #272B76 #762752
square
#767227 #27764A #272B76 #762752
split-complementary
#767227 #275276 #4A2776
monochromatic
#1A1909 #484618 #767227 #A49E36 #C6C052

Accessibility & contrast

On white

4.99
#767227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#767227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767227
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767227#FFFFFF#000000##FFFFFF
##7672271.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1D
Deuteranopia (green-blind)
#7D712C
Tritanopia (blue-blind)
#7F6A62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #767227;
/* rgb */ color: rgb(118, 114, 39);
/* oklch */ color: oklch(54.0% 0.096 106.3);
Tailwind
colors: {
  custom: {
    50: '#a09a65',
    500: '#767227',
    950: '#000000',
  },
}
SCSS
$custom: #767227;
$custom-light: #a09a65;
$custom-dark: #000000;
JSON
{
  "hex": "#767227",
  "rgb": {
    "r": 118,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 56.962,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54034,
    "c": 0.09583,
    "h": 106.3
  },
  "luminance": 0.16033
}

Semantic roles & 50–950 ramp

primary
#767227
secondary
#5155A8
accent
#55DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #767227

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

Preview Lab → · Contrast checker → · Palette generator →

#767227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva