#657118#657118

#657118 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.1% C 0.110 H 117.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#657118
RGBrgb(101, 113, 24)
HSLhsl(68, 65%, 27%)
HSVhsv(68, 79%, 44%)
CMYKcmyk(10.6%, 0%, 78.8%, 55.7%)
CIE-LABlab(45.14, -16.69, 44.43)
CIE-LCHlch(45.14, 47.46, 110.59°)
OKLaboklab(52.14% -0.0503 0.0978)
OKLCHoklch(52.14% 0.11 117.2)
XYZxyz(11.4371, 14.6430, 3.0879)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657118 #241871
analogous
#715118 #657118 #397118
triadic
#657118 #186571 #711865
tetradic
#657118 #187151 #241871 #711839
square
#657118 #187151 #241871 #711839
split-complementary
#657118 #183971 #511871
monochromatic
#171905 #383F0D #657118 #92A323 #BDD330

Accessibility & contrast

On white

5.35
#657118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#657118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #657118
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657118#FFFFFF#000000##FFFFFF
##6571181.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B04
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#6C6A60
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #657118;
/* rgb */ color: rgb(101, 113, 24);
/* oklch */ color: oklch(52.1% 0.110 117.2);
Tailwind
colors: {
  custom: {
    50: '#94995d',
    500: '#657118',
    950: '#000000',
  },
}
SCSS
$custom: #657118;
$custom-light: #94995d;
$custom-dark: #000000;
JSON
{
  "hex": "#657118",
  "rgb": {
    "r": 101,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 68.09,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52137,
    "c": 0.11002,
    "h": 117.2
  },
  "luminance": 0.14643
}

Semantic roles & 50–950 ramp

primary
#657118
secondary
#4C3EA6
accent
#40E857
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #657118

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

Preview Lab → · Contrast checker → · Palette generator →

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