#768023#768023

#768023 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.3% C 0.115 H 115.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#768023
RGBrgb(118, 128, 35)
HSLhsl(66, 57%, 32%)
HSVhsv(66, 73%, 50%)
CMYKcmyk(7.8%, 0%, 72.7%, 49.8%)
CIE-LABlab(51.17, -16.37, 46.55)
CIE-LCHlch(51.17, 49.34, 109.37°)
OKLaboklab(57.34% -0.0494 0.1038)
OKLCHoklch(57.34% 0.115 115.5)
XYZxyz(15.4942, 19.4115, 4.5204)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768023 #2D2380
analogous
#805C23 #768023 #478023
triadic
#768023 #237680 #802376
tetradic
#768023 #23805C #2D2380 #802347
square
#768023 #23805C #2D2380 #802347
split-complementary
#768023 #234780 #5C2380
monochromatic
#1D2009 #4A5016 #768023 #A2B030 #C1CF4F

Accessibility & contrast

On white

4.30
#768023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#768023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768023
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768023#FFFFFF#000000##000000
##7680231.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897913
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#7E786E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #768023;
/* rgb */ color: rgb(118, 128, 35);
/* oklch */ color: oklch(57.3% 0.115 115.5);
Tailwind
colors: {
  custom: {
    50: '#a0a465',
    500: '#768023',
    950: '#000000',
  },
}
SCSS
$custom: #768023;
$custom-light: #a0a465;
$custom-dark: #000000;
JSON
{
  "hex": "#768023",
  "rgb": {
    "r": 118,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 66.452,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57339,
    "c": 0.11493,
    "h": 115.5
  },
  "luminance": 0.19411
}

Semantic roles & 50–950 ramp

primary
#768023
secondary
#574DB2
accent
#47E058
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768023

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

Preview Lab → · Contrast checker → · Palette generator →

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