#7C8B2B#7C8B2B

#7C8B2B is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.6% C 0.120 H 117.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7C8B2B
RGBrgb(124, 139, 43)
HSLhsl(69, 53%, 36%)
HSVhsv(69, 69%, 55%)
CMYKcmyk(10.8%, 0%, 69.1%, 45.5%)
CIE-LABlab(54.99, -18.98, 47.31)
CIE-LCHlch(54.99, 50.98, 111.86°)
OKLaboklab(60.55% -0.0562 0.1066)
OKLCHoklch(60.55% 0.121 117.8)
XYZxyz(17.9812, 22.9249, 5.7627)
Luminance0.2293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8B2B #3A2B8B
analogous
#8B6A2B #7C8B2B #4C8B2B
triadic
#7C8B2B #2B7C8B #8B2B7C
tetradic
#7C8B2B #2B8B6A #3A2B8B #8B2B4C
square
#7C8B2B #2B8B6A #3A2B8B #8B2B4C
split-complementary
#7C8B2B #2B4C8B #6A2B8B
monochromatic
#292E0E #525C1D #7C8B2B #A6BA39 #BDCE62

Accessibility & contrast

On white

3.76
#7C8B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7C8B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8B2B
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8B2B#FFFFFF#000000##000000
##7C8B2B1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831D
Deuteranopia (green-blind)
#938432
Tritanopia (blue-blind)
#848378
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8b2b;
/* rgb */ color: rgb(124, 139, 43);
/* oklch */ color: oklch(60.6% 0.120 117.8);
Tailwind
colors: {
  custom: {
    50: '#a5ac6a',
    500: '#7c8b2b',
    950: '#000000',
  },
}
SCSS
$custom: #7c8b2b;
$custom-light: #a5ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8b2b",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 69.375,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60551,
    "c": 0.1205,
    "h": 117.8
  },
  "luminance": 0.22925
}

Semantic roles & 50–950 ramp

primary
#7C8B2B
secondary
#6B5DB5
accent
#4CDC62
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7C8B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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