#7E7E23#7E7E23

#7E7E23 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.110 H 109.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7E7E23
RGBrgb(126, 126, 35)
HSLhsl(60, 57%, 32%)
HSVhsv(60, 72%, 49%)
CMYKcmyk(0%, 0%, 72.2%, 50.6%)
CIE-LABlab(51.24, -11.66, 46.85)
CIE-LCHlch(51.24, 48.28, 103.97°)
OKLaboklab(57.57% -0.0367 0.1042)
OKLCHoklch(57.57% 0.11 109.4)
XYZxyz(16.3690, 19.4792, 4.4874)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7E23 #23237E
analogous
#7E5123 #7E7E23 #517E23
triadic
#7E7E23 #237E7E #7E237E
tetradic
#7E7E23 #237E51 #23237E #7E2351
square
#7E7E23 #237E51 #23237E #7E2351
split-complementary
#7E7E23 #23517E #51237E
monochromatic
#1E1E08 #4E4E16 #7E7E23 #AEAE30 #CECE4E

Accessibility & contrast

On white

4.29
#7E7E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7E7E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7E23
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7E23#FFFFFF#000000##000000
##7E7E231.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887914
Deuteranopia (green-blind)
#8A7B2A
Tritanopia (blue-blind)
#87766C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e7e23;
/* rgb */ color: rgb(126, 126, 35);
/* oklch */ color: oklch(57.6% 0.110 109.4);
Tailwind
colors: {
  custom: {
    50: '#a6a364',
    500: '#7e7e23',
    950: '#000000',
  },
}
SCSS
$custom: #7e7e23;
$custom-light: #a6a364;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7e23",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 60,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57568,
    "c": 0.11044,
    "h": 109.4
  },
  "luminance": 0.19479
}

Semantic roles & 50–950 ramp

primary
#7E7E23
secondary
#4C4CB0
accent
#48E048
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E7E23

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

Preview Lab → · Contrast checker → · Palette generator →

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