#767F23#767F23

#767F23 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.1% C 0.114 H 114.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#767F23
RGBrgb(118, 127, 35)
HSLhsl(66, 57%, 32%)
HSVhsv(66, 72%, 50%)
CMYKcmyk(7.1%, 0%, 72.4%, 50.2%)
CIE-LABlab(50.86, -15.84, 46.25)
CIE-LCHlch(50.86, 48.89, 108.90°)
OKLaboklab(57.1% -0.0479 0.1032)
OKLCHoklch(57.1% 0.114 114.9)
XYZxyz(15.3644, 19.1519, 4.4771)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767F23 #2C237F
analogous
#7F5A23 #767F23 #487F23
triadic
#767F23 #23767F #7F2376
tetradic
#767F23 #237F5A #2C237F #7F2348
square
#767F23 #237F5A #2C237F #7F2348
split-complementary
#767F23 #23487F #5A237F
monochromatic
#1D1F09 #494F16 #767F23 #A3AF30 #C2CE4E

Accessibility & contrast

On white

4.35
#767F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#767F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767F23
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767F23#FFFFFF#000000##000000
##767F231.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887814
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#7E776D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #767f23;
/* rgb */ color: rgb(118, 127, 35);
/* oklch */ color: oklch(57.1% 0.114 114.9);
Tailwind
colors: {
  custom: {
    50: '#a0a464',
    500: '#767f23',
    950: '#000000',
  },
}
SCSS
$custom: #767f23;
$custom-light: #a0a464;
$custom-dark: #000000;
JSON
{
  "hex": "#767f23",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 65.87,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57098,
    "c": 0.11374,
    "h": 114.9
  },
  "luminance": 0.19152
}

Semantic roles & 50–950 ramp

primary
#767F23
secondary
#564CB1
accent
#48E057
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #767F23

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

Preview Lab → · Contrast checker → · Palette generator →

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