#7B8E13#7B8E13

#7B8E13 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.0% C 0.138 H 119.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7B8E13
RGBrgb(123, 142, 19)
HSLhsl(69, 76%, 32%)
HSVhsv(69, 87%, 56%)
CMYKcmyk(13.4%, 0%, 86.6%, 44.3%)
CIE-LABlab(55.69, -22.09, 55.89)
CIE-LCHlch(55.69, 60.09, 111.57°)
OKLaboklab(61.05% -0.0667 0.1206)
OKLCHoklch(61.05% 0.138 119)
XYZxyz(17.9594, 23.6041, 4.2259)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8E13 #26138E
analogous
#8E6413 #7B8E13 #3E8E13
triadic
#7B8E13 #137B8E #8E137B
tetradic
#7B8E13 #138E64 #26138E #8E133E
square
#7B8E13 #138E64 #26138E #8E133E
split-complementary
#7B8E13 #133E8E #64138E
monochromatic
#1D2205 #4C580C #7B8E13 #AAC41A #CAE437

Accessibility & contrast

On white

3.67
#7B8E13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#7B8E13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8E13
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8E13#FFFFFF#000000##000000
##7B8E131.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)
#988500
Deuteranopia (green-blind)
#968621
Tritanopia (blue-blind)
#838679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7b8e13;
/* rgb */ color: rgb(123, 142, 19);
/* oklch */ color: oklch(61.0% 0.138 119.0);
Tailwind
colors: {
  custom: {
    50: '#a5af60',
    500: '#7b8e13',
    950: '#000000',
  },
}
SCSS
$custom: #7b8e13;
$custom-light: #a5af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8e13",
  "rgb": {
    "r": 123,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 69.268,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61049,
    "c": 0.13782,
    "h": 119
  },
  "luminance": 0.23604
}

Semantic roles & 50–950 ramp

primary
#7B8E13
secondary
#503BC2
accent
#35F352
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7B8E13

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

Preview Lab → · Contrast checker → · Palette generator →

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