#767231#767231

#767231 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.1% C 0.087 H 105.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#767231
RGBrgb(118, 114, 49)
HSLhsl(57, 41%, 33%)
HSVhsv(57, 58%, 46%)
CMYKcmyk(0%, 3.4%, 58.5%, 53.7%)
CIE-LABlab(47.12, -7.72, 35.91)
CIE-LCHlch(47.12, 36.73, 102.14°)
OKLaboklab(54.14% -0.0235 0.0834)
OKLCHoklch(54.14% 0.087 105.7)
XYZxyz(14.0433, 16.1084, 5.2746)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767231 #313576
analogous
#765031 #767231 #577631
triadic
#767231 #317672 #723176
tetradic
#767231 #317650 #313576 #763157
square
#767231 #317650 #313576 #763157
split-complementary
#767231 #315776 #503176
monochromatic
#201E0D #4B481F #767231 #A19C43 #BEB963

Accessibility & contrast

On white

4.97
#767231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#767231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767231
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767231#FFFFFF#000000##FFFFFF
##7672311.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2A
Deuteranopia (green-blind)
#7D7134
Tritanopia (blue-blind)
#7E6B64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #767231;
/* rgb */ color: rgb(118, 114, 49);
/* oklch */ color: oklch(54.1% 0.087 105.7);
Tailwind
colors: {
  custom: {
    50: '#9f9a6c',
    500: '#767231',
    950: '#000000',
  },
}
SCSS
$custom: #767231;
$custom-light: #9f9a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#767231",
  "rgb": {
    "r": 118,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 56.522,
    "s": 41.317,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54144,
    "c": 0.08668,
    "h": 105.7
  },
  "luminance": 0.16108
}

Semantic roles & 50–950 ramp

primary
#767231
secondary
#5D61A6
accent
#5ED157
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #767231

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

Preview Lab → · Contrast checker → · Palette generator →

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