#767223#767223

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

Color values

HEX#767223
RGBrgb(118, 114, 35)
HSLhsl(57, 54%, 30%)
HSVhsv(57, 70%, 46%)
CMYKcmyk(0%, 3.4%, 70.3%, 53.7%)
CIE-LABlab(46.98, -8.74, 42.37)
CIE-LCHlch(46.98, 43.26, 101.66°)
OKLaboklab(54% -0.028 0.095)
OKLCHoklch(54% 0.099 106.4)
XYZxyz(13.7924, 16.0080, 3.9531)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767223 #232776
analogous
#764823 #767223 #517623
triadic
#767223 #237672 #722376
tetradic
#767223 #237648 #232776 #762351
square
#767223 #237648 #232776 #762351
split-complementary
#767223 #235176 #482376
monochromatic
#181707 #474415 #767223 #A5A031 #C9C34A

Accessibility & contrast

On white

5.00
#767223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#767223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767223
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767223#FFFFFF#000000##FFFFFF
##7672231.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #767223;
/* rgb */ color: rgb(118, 114, 35);
/* oklch */ color: oklch(54.0% 0.099 106.4);
Tailwind
colors: {
  custom: {
    50: '#a09a63',
    500: '#767223',
    950: '#000000',
  },
}
SCSS
$custom: #767223;
$custom-light: #a09a63;
$custom-dark: #000000;
JSON
{
  "hex": "#767223",
  "rgb": {
    "r": 118,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 57.108,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.53997,
    "c": 0.09903,
    "h": 106.4
  },
  "luminance": 0.16008
}

Semantic roles & 50–950 ramp

primary
#767223
secondary
#4C50A9
accent
#51DE4A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #767223

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

Preview Lab → · Contrast checker → · Palette generator →

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