#BAF767#BAF767

#BAF767 is a very light, vivid yellow-green. Relative luminance 0.779; OKLCH L 90.6% C 0.184 H 128.9°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#BAF767
RGBrgb(186, 247, 103)
HSLhsl(85, 90%, 69%)
HSVhsv(85, 58%, 97%)
CMYKcmyk(24.7%, 0%, 58.3%, 3.1%)
CIE-LABlab(90.75, -41.08, 61.71)
CIE-LCHlch(90.75, 74.13, 123.65°)
OKLaboklab(90.62% -0.1156 0.1436)
OKLCHoklch(90.62% 0.184 128.9)
XYZxyz(55.9583, 77.9387, 24.9248)
Luminance0.7794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF767 #A467F7
analogous
#F7EC67 #BAF767 #72F767
triadic
#BAF767 #67BAF7 #F767BA
tetradic
#BAF767 #67F7EC #A467F7 #F76772
square
#BAF767 #67F7EC #A467F7 #F76772
split-complementary
#BAF767 #6772F7 #EC67F7
monochromatic
#81D80B #A0F42D #BAF767 #D4FAA1 #EFFDDB

Accessibility & contrast

On white

1.27
#BAF767 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#BAF767 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF767
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF767#FFFFFF#000000##000000
##BAF7671.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE757
Deuteranopia (green-blind)
#F9E371
Tritanopia (blue-blind)
#BFEDD8
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf767;
/* rgb */ color: rgb(186, 247, 103);
/* oklch */ color: oklch(90.6% 0.184 128.9);
Tailwind
colors: {
  custom: {
    50: '#d2fa97',
    500: '#baf767',
    950: '#000000',
  },
}
SCSS
$custom: #baf767;
$custom-light: #d2fa97;
$custom-dark: #000000;
JSON
{
  "hex": "#baf767",
  "rgb": {
    "r": 186,
    "g": 247,
    "b": 103
  },
  "hsl": {
    "h": 85.417,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.90622,
    "c": 0.18436,
    "h": 128.9
  },
  "luminance": 0.7794
}

Semantic roles & 50–950 ramp

primary
#BAF767
secondary
#7532D0
accent
#00E661
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF767

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

Preview Lab → · Contrast checker → · Palette generator →

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