#BABE7B#BABE7B

#BABE7B is a light, moderate yellow. Relative luminance 0.487; OKLCH L 78.3% C 0.088 H 111.2°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#BABE7B
RGBrgb(186, 190, 123)
HSLhsl(64, 34%, 61%)
HSVhsv(64, 35%, 75%)
CMYKcmyk(2.1%, 0%, 35.3%, 25.5%)
CIE-LABlab(75.26, -11.81, 33.41)
CIE-LCHlch(75.26, 35.44, 109.47°)
OKLaboklab(78.26% -0.0319 0.0823)
OKLCHoklch(78.26% 0.088 111.2)
XYZxyz(42.2386, 48.6967, 25.9094)
Luminance0.4870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABE7B #7F7BBE
analogous
#BEA17B #BABE7B #99BE7B
triadic
#BABE7B #7BBABE #BE7BBA
tetradic
#BABE7B #7BBEA1 #7F7BBE #BE7B99
square
#BABE7B #7BBEA1 #7F7BBE #BE7B99
split-complementary
#BABE7B #7B99BE #A17BBE
monochromatic
#7C803F #A4A953 #BABE7B #CFD2A4 #E5E6CD

Accessibility & contrast

On white

1.96
#BABE7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#BABE7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABE7B
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABE7B#FFFFFF#000000##000000
##BABE7B1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B876
Deuteranopia (green-blind)
#C8BA7E
Tritanopia (blue-blind)
#C2B6AD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #babe7b;
/* rgb */ color: rgb(186, 190, 123);
/* oklch */ color: oklch(78.3% 0.088 111.2);
Tailwind
colors: {
  custom: {
    50: '#cfd1a2',
    500: '#babe7b',
    950: '#000000',
  },
}
SCSS
$custom: #babe7b;
$custom-light: #cfd1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#babe7b",
  "rgb": {
    "r": 186,
    "g": 190,
    "b": 123
  },
  "hsl": {
    "h": 63.582,
    "s": 34.01,
    "l": 61.373
  },
  "oklch": {
    "l": 0.78259,
    "c": 0.08829,
    "h": 111.2
  },
  "luminance": 0.48696
}

Semantic roles & 50–950 ramp

primary
#BABE7B
secondary
#BFBED7
accent
#39AD40
background
#FCFCFA
surface
#F9F9F3
border
#D2D2CD
text
#14140F
muted
#82827F

Preview Lab

Preview with #BABE7B

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

Preview Lab → · Contrast checker → · Palette generator →

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