#767228#767228

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

Color values

HEX#767228
RGBrgb(118, 114, 40)
HSLhsl(57, 49%, 31%)
HSVhsv(57, 66%, 46%)
CMYKcmyk(0%, 3.4%, 66.1%, 53.7%)
CIE-LABlab(47.03, -8.42, 40.18)
CIE-LCHlch(47.03, 41.05, 101.83°)
OKLaboklab(54.04% -0.0265 0.0912)
OKLCHoklch(54.04% 0.095 106.2)
XYZxyz(13.8720, 16.0398, 4.3723)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767228 #282C76
analogous
#764B28 #767228 #537628
triadic
#767228 #287672 #722876
tetradic
#767228 #28764B #282C76 #762853
square
#767228 #28764B #282C76 #762853
split-complementary
#767228 #285376 #4B2876
monochromatic
#1B1A09 #484619 #767228 #A49E37 #C5BF54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##767228#FFFFFF#000000##FFFFFF
##7672281.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)
#7C6E1F
Deuteranopia (green-blind)
#7D712C
Tritanopia (blue-blind)
#7F6A63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #767228;
/* rgb */ color: rgb(118, 114, 40);
/* oklch */ color: oklch(54.0% 0.095 106.2);
Tailwind
colors: {
  custom: {
    50: '#a09a66',
    500: '#767228',
    950: '#000000',
  },
}
SCSS
$custom: #767228;
$custom-light: #a09a66;
$custom-dark: #000000;
JSON
{
  "hex": "#767228",
  "rgb": {
    "r": 118,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 56.923,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54043,
    "c": 0.09499,
    "h": 106.2
  },
  "luminance": 0.16039
}

Semantic roles & 50–950 ramp

primary
#767228
secondary
#5256A8
accent
#56D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #767228

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

Preview Lab → · Contrast checker → · Palette generator →

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