#767A23#767A23

#767A23 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 55.9% C 0.108 H 112.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#767A23
RGBrgb(118, 122, 35)
HSLhsl(63, 55%, 31%)
HSVhsv(63, 71%, 48%)
CMYKcmyk(3.3%, 0%, 71.3%, 52.2%)
CIE-LABlab(49.37, -13.15, 44.76)
CIE-LCHlch(49.37, 46.66, 106.37°)
OKLaboklab(55.9% -0.0404 0.1)
OKLCHoklch(55.9% 0.108 112)
XYZxyz(14.7346, 17.8923, 4.2672)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767A23 #27237A
analogous
#7A5223 #767A23 #4A7A23
triadic
#767A23 #23767A #7A2376
tetradic
#767A23 #237A52 #27237A #7A234A
square
#767A23 #237A52 #27237A #7A234A
split-complementary
#767A23 #234A7A #52237A
monochromatic
#1A1B08 #484A15 #767A23 #A4AA31 #C6CC4C

Accessibility & contrast

On white

4.59
#767A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#767A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #767A23
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767A23#FFFFFF#000000##FFFFFF
##767A231.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847415
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#7E7269
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #767a23;
/* rgb */ color: rgb(118, 122, 35);
/* oklch */ color: oklch(55.9% 0.108 112.0);
Tailwind
colors: {
  custom: {
    50: '#a0a064',
    500: '#767a23',
    950: '#000000',
  },
}
SCSS
$custom: #767a23;
$custom-light: #a0a064;
$custom-dark: #000000;
JSON
{
  "hex": "#767a23",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 62.759,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55897,
    "c": 0.10787,
    "h": 112
  },
  "luminance": 0.17892
}

Semantic roles & 50–950 ramp

primary
#767A23
secondary
#514CAD
accent
#49DF50
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #767A23

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

Preview Lab → · Contrast checker → · Palette generator →

#767A23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva