#768F23#768F23

#768F23 is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 61.0% C 0.133 H 122.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#768F23
RGBrgb(118, 143, 35)
HSLhsl(74, 61%, 35%)
HSVhsv(74, 76%, 56%)
CMYKcmyk(17.5%, 0%, 75.5%, 43.9%)
CIE-LABlab(55.70, -24.09, 50.96)
CIE-LCHlch(55.70, 56.37, 115.30°)
OKLaboklab(60.99% -0.0707 0.1131)
OKLCHoklch(60.99% 0.133 122)
XYZxyz(17.5973, 23.6178, 5.2214)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F23 #3C238F
analogous
#8F7223 #768F23 #408F23
triadic
#768F23 #23768F #8F2376
tetradic
#768F23 #238F72 #3C238F #8F2340
square
#768F23 #238F72 #3C238F #8F2340
split-complementary
#768F23 #23408F #72238F
monochromatic
#252D0B #4D5E17 #768F23 #9FC02F #B8D657

Accessibility & contrast

On white

3.67
#768F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#768F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768F23
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768F23#FFFFFF#000000##000000
##768F231.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860C
Deuteranopia (green-blind)
#95852D
Tritanopia (blue-blind)
#7D877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768f23;
/* rgb */ color: rgb(118, 143, 35);
/* oklch */ color: oklch(61.0% 0.133 122.0);
Tailwind
colors: {
  custom: {
    50: '#a1af66',
    500: '#768f23',
    950: '#000000',
  },
}
SCSS
$custom: #768f23;
$custom-light: #a1af66;
$custom-dark: #000000;
JSON
{
  "hex": "#768f23",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 73.889,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60992,
    "c": 0.13337,
    "h": 122
  },
  "luminance": 0.23618
}

Semantic roles & 50–950 ramp

primary
#768F23
secondary
#6C54BA
accent
#44E469
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768F23

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

Preview Lab → · Contrast checker → · Palette generator →

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