#7B8D10#7B8D10

#7B8D10 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 60.8% C 0.138 H 118.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7B8D10
RGBrgb(123, 141, 16)
HSLhsl(69, 80%, 31%)
HSVhsv(69, 89%, 55%)
CMYKcmyk(12.8%, 0%, 88.7%, 44.7%)
CIE-LABlab(55.38, -21.67, 56.30)
CIE-LCHlch(55.38, 60.33, 111.05°)
OKLaboklab(60.8% -0.0657 0.121)
OKLCHoklch(60.8% 0.138 118.5)
XYZxyz(17.7872, 23.2983, 4.0501)
Luminance0.2330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8D10 #22108D
analogous
#8D6010 #7B8D10 #3C8D10
triadic
#7B8D10 #107B8D #8D107B
tetradic
#7B8D10 #108D60 #22108D #8D103C
square
#7B8D10 #108D60 #22108D #8D103C
split-complementary
#7B8D10 #103C8D #60108D
monochromatic
#1B1F04 #4B560A #7B8D10 #ABC416 #CDE730

Accessibility & contrast

On white

3.71
#7B8D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#7B8D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8D10
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8D10#FFFFFF#000000##000000
##7B8D101.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#958520
Tritanopia (blue-blind)
#838578
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7b8d10;
/* rgb */ color: rgb(123, 141, 16);
/* oklch */ color: oklch(60.8% 0.138 118.5);
Tailwind
colors: {
  custom: {
    50: '#a5ae5f',
    500: '#7b8d10',
    950: '#000000',
  },
}
SCSS
$custom: #7b8d10;
$custom-light: #a5ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8d10",
  "rgb": {
    "r": 123,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 68.64,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.60796,
    "c": 0.13772,
    "h": 118.5
  },
  "luminance": 0.23298
}

Semantic roles & 50–950 ramp

primary
#7B8D10
secondary
#4B37C2
accent
#32F64E
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #7B8D10

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

Preview Lab → · Contrast checker → · Palette generator →

#7B8D10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva