#768123#768123

#768123 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.6% C 0.116 H 116.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#768123
RGBrgb(118, 129, 35)
HSLhsl(67, 57%, 32%)
HSVhsv(67, 73%, 51%)
CMYKcmyk(8.5%, 0%, 72.9%, 49.4%)
CIE-LABlab(51.47, -16.90, 46.85)
CIE-LCHlch(51.47, 49.80, 109.83°)
OKLaboklab(57.58% -0.0509 0.1044)
OKLCHoklch(57.58% 0.116 116)
XYZxyz(15.6252, 19.6736, 4.5640)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768123 #2E2381
analogous
#815D23 #768123 #478123
triadic
#768123 #237681 #812376
tetradic
#768123 #23815D #2E2381 #812347
square
#768123 #23815D #2E2381 #812347
split-complementary
#768123 #234781 #5D2381
monochromatic
#1E2109 #4A5116 #768123 #A2B130 #C0CF4F

Accessibility & contrast

On white

4.26
#768123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#768123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768123
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768123#FFFFFF#000000##000000
##7681231.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A13
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#7E796F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #768123;
/* rgb */ color: rgb(118, 129, 35);
/* oklch */ color: oklch(57.6% 0.116 116.0);
Tailwind
colors: {
  custom: {
    50: '#a0a565',
    500: '#768123',
    950: '#000000',
  },
}
SCSS
$custom: #768123;
$custom-light: #a0a565;
$custom-dark: #000000;
JSON
{
  "hex": "#768123",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 67.021,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57581,
    "c": 0.11614,
    "h": 116
  },
  "luminance": 0.19673
}

Semantic roles & 50–950 ramp

primary
#768123
secondary
#594DB3
accent
#47E159
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768123

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

Preview Lab → · Contrast checker → · Palette generator →

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